CVS: moonbase/utils/module-init-tools BUILD,1.6,1.7
Chuck Mead
csm at lunar-linux.org
Sat Nov 1 01:27:01 GMT 2003
Update of /var/cvs/lunar/moonbase/utils/module-init-tools
In directory dbguin.lunar-linux.org:/tmp/cvs-serv24336
Modified Files:
BUILD
Log Message:
wrapping this to keep it from installing the S20modutils symlink
if the luser is using the new init system
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/module-init-tools/BUILD,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- BUILD 20 Sep 2003 02:55:44 -0000 1.6
+++ BUILD 1 Nov 2003 01:26:59 -0000 1.7
@@ -21,8 +21,10 @@
if [ ! -e /etc/modprobe.conf ]; then
./generate-modprobe.conf /etc/modprobe.conf
fi &&
- install -m0700 $SCRIPT_DIRECTORY/init.d/modutils /etc/init.d &&
- ln -sf ../init.d/modutils /etc/rcS.d/S20modutils
+ if [ ! -d /etc/rc.sysconfig ];
+ install -m0700 $SCRIPT_DIRECTORY/init.d/modutils /etc/init.d
+ ln -sf ../init.d/modutils /etc/rcS.d/S20modutils
+ fi
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list