aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/level2.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-03-07 16:45:04 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-03-07 16:45:04 +0000
commit7b7859e7b69b54e30eb181857e608f5cccce999a (patch)
tree56ac44e36fe8e86506db726b5e54ebc9e3f82222 /init-sh/level2.sh
parente67d4c05d0d218ede7f02ffc9b86dc2c95f75d1d (diff)
downloadmsec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar.gz
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar.bz2
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar.xz
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.zip
*** empty log message ***
Diffstat (limited to 'init-sh/level2.sh')
-rwxr-xr-xinit-sh/level2.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/init-sh/level2.sh b/init-sh/level2.sh
index e012f72..9348529 100755
--- a/init-sh/level2.sh
+++ b/init-sh/level2.sh
@@ -5,9 +5,12 @@
# Writen by Vandoorselaere Yoann <yoann@mandrakesoft.com>
#
-if [[ -f /etc/security/msec/init-sh/lib.sh ]]; then
- . /etc/security/msec/init-sh/lib.sh
+
+
+if [[ -f /usr/share/msec/lib.sh ]]; then
+ . /usr/share/msec/lib.sh
else
+ echo "Can't find /usr/share/msec/lib.sh, exiting."
exit 1
fi
@@ -74,7 +77,7 @@ AddBegRules "/usr/X11R6/bin/xhost + localhost" /etc/X11/xinit/xinitrc
# group
echo "Adding system users to specifics groups :"
-/etc/security/msec/init-sh/grpuser.sh --refresh
+/usr/share/msec/grpuser.sh --refresh
grpconv
echo -e "done.\n"
@@ -87,3 +90,5 @@ cat ${tmpfile} | \
sed s'/ca::ctrlaltdel:\/sbin\/shutdown -a -t3 -r now/ca::ctrlaltdel:\/sbin\/shutdown -t3 -r now/' > /etc/inittab
rm -f ${tmpfile}
echo "done."
+
+