From 2640cda35f89250164ccdc5736b360ca3b30b7c8 Mon Sep 17 00:00:00 2001 From: Florin Grad Date: Wed, 3 Oct 2001 12:50:38 +0000 Subject: libsafe.so.2 in levels 4/5 and remove the . in PATH --- init-sh/level5.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'init-sh/level5.sh') diff --git a/init-sh/level5.sh b/init-sh/level5.sh index 6f99fa9..08517f6 100755 --- a/init-sh/level5.sh +++ b/init-sh/level5.sh @@ -120,19 +120,9 @@ echo "Setting umask to 077 (u=rw) :" AddRules "umask 077" /etc/profile.d/msec.sh AddRules "umask 077" /etc/profile.d/msec.csh -echo "Adding \"normal\" PATH variable :" -AddRules "if ! echo \${PATH} |grep -q /usr/X11R6/bin ; then\n\texport PATH=\$PATH:/usr/X11R6/bin\nfi" /etc/profile.d/msec.sh quiet -AddRules "if ! { (echo "\${PATH}" | grep -q /usr/X11R6/bin) } then\n\tsetenv PATH \"\${PATH}:/usr/X11R6/bin\"\nendif" /etc/profile.d/msec.csh quiet -AddRules "if ! echo \${PATH} |grep -q /usr/games ; then\n\texport PATH=\$PATH:/usr/games\nfi" /etc/profile.d/msec.sh quiet -AddRules "if ! { (echo "\${PATH}" | grep -q /usr/games) } then\n\tsetenv PATH \"\${PATH}:/usr/games\"\nendif" /etc/profile.d/msec.csh quiet - -AddRules "if ! echo \${PATH} |grep -q :. ; then\n\texport PATH=\$PATH:.\nfi" /etc/profile.d/msec. -sh quiet -AddRules "if ! { (echo "\${PATH}" | grep -q :.) } then\n\tsetenv PATH \"\${PATH}:.\"\nendif" /etc/profile.d/msec.csh quiet - if [[ -f /lib/libsafe.so.1.3 ]]; then echo "Enabling stack overflow protection :" - AddRules "/lib/libsafe.so.1.3" /etc/ld.so.preload + AddRules "/lib/libsafe.so.2" /etc/ld.so.preload fi # Do not boot on a shell -- cgit v1.2.1