diff options
Diffstat (limited to 'sysutils/jailuser/files/patch-functions')
-rw-r--r-- | sysutils/jailuser/files/patch-functions | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/sysutils/jailuser/files/patch-functions b/sysutils/jailuser/files/patch-functions deleted file mode 100644 index 2ec79b9829e8..000000000000 --- a/sysutils/jailuser/files/patch-functions +++ /dev/null @@ -1,40 +0,0 @@ -// A little bug patched in jail 1.9 (it didn't set the shell correctly in /etc/shells) -// v1.0a -// by Bugghy (bugghy@rootshell.be) - -*** ../lib/arch/generic/functions Fri Oct 26 12:36:09 2001 ---- ../lib/arch/generic/functions Sat Jun 14 13:41:22 2003 -*************** -*** 823,829 **** - close(F); - - for $k (@elem) { -! if ($k =~ /^$INSTALL_DIR\/jail/) { - $found = 1; - last; - } ---- 823,829 ---- - close(F); - - for $k (@elem) { -! if ($k =~ /^$INSTALL_DIR\/bin\/jail/) { - $found = 1; - last; - } -*************** -*** 831,837 **** - - if (!$found || !-e $SHELLS_FILE) { - open(F,">>".$SHELLS_FILE); -! print F "$INSTALL_DIR/jail\n"; - close(F); - } - } ---- 831,837 ---- - - if (!$found || !-e $SHELLS_FILE) { - open(F,">>".$SHELLS_FILE); -! print F "$INSTALL_DIR/bin/jail\n"; - close(F); - } - } |