aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-sh')
-rwxr-xr-xinit-sh/level1.sh4
-rwxr-xr-xinit-sh/level2.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/init-sh/level1.sh b/init-sh/level1.sh
index 571f470..0d89ec7 100755
--- a/init-sh/level1.sh
+++ b/init-sh/level1.sh
@@ -68,8 +68,8 @@ AddRules "export PATH SECURE_LEVEL" /etc/profile
# Xserver
echo "Allowing users to connect X server from localhost :"
-AddBegRules /etc/X11/xdm/Xsession "/usr/X11R6/bin/xhost + localhost"
-AddBegRules /etc/X11/xinit/xinitrc "/usr/X11R6/bin/xhost + localhost"
+AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xdm/Xsession
+AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xinit/xinitrc
# Group
echo "Adding system users to specific groups :"
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index c663f25..271781a 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -67,8 +67,8 @@ AddRules "export PATH SECURE_LEVEL" /etc/profile
# Xserver
echo "Allowing users to connect X server from localhost :"
-AddBegRules /etc/X11/xdm/Xsession "/usr/X11R6/bin/xhost + localhost"
-AddBegRules /etc/X11/xinit/xinitrc "/usr/X11R6/bin/xhost + localhost"
+AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xdm/Xsession
+AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xinit/xinitrc
# group
echo "Adding system users to specifics groups :"