aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit-sh/level4.sh2
-rw-r--r--init-sh/lib.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/init-sh/level4.sh b/init-sh/level4.sh
index f555a51..a762c2d 100755
--- a/init-sh/level4.sh
+++ b/init-sh/level4.sh
@@ -98,7 +98,7 @@ echo -e "done.\n";
# /etc/profile
echo "Setting umask to 022 (u=rw,g=rx) for root, 077 (u=rw) for user :"
-AddRules "if [ ${UID} == 0 ]; then umask 022; else umask 077; fi"
+AddRules "if [ ${UID} == 0 ]; then umask 022; else umask 077; fi" /etc/profile
echo "Adding \"normal\" PATH variable :"
AddRules "PATH=\$PATH:/usr/X11R6/bin" /etc/profile quiet
AddRules "export PATH SECURE_LEVEL" /etc/profile \ No newline at end of file
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 262b1db..d9e7107 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -81,7 +81,7 @@ CleanRules() {
rm -f /tmp/secure.tmp
- echo "done."
+ echo "done."
}
CommentUserRules() {