confz

git mirror of https://ccx.te2000.cz/bzr/confz
git clone https://ccx.te2000.cz/git/confz
Log | Files | Refs

commit 5d8f8a19aa26957f1b85f95948b29a360185bcb4
parent 350b4a15f91cf9045e85b7d4b30e920977437cd7
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Thu, 26 Jun 2014 20:27:16 +0200

duplicate and wrong function
Diffstat:
Mzsh-functions/confz_vserver_init | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/zsh-functions/confz_vserver_init b/zsh-functions/confz_vserver_init @@ -101,12 +101,6 @@ confz_vserver_listconfigs_hook_check() { [[ -x /etc/vservers/$vars[name]/scripts/post-start.d/vserver-listconfigs ]] } -confz_vserver_listconfigs_hook_check() { - mkdir -p /etc/vservers/$vars[name]/scripts/post-start.d || return $? - ln -s $commands[vserver-listconfigs] \ - /etc/vservers/$vars[name]/scripts/post-start.d/vserver-listconfigs -} - confz_vserver_listconfigs_hook_do() { local lnk lnk=/etc/vservers/$vars[name]/scripts/post-start.d/vserver-listconfigs