From: <smi...@us...> - 2004-03-05 02:16:59
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8176/scripts Modified Files: cfg_runlevel heartbeat Log Message: - added missing directory for heartbeat - changed boot system to use /etc/init.d/boot.d and added boot.local (By Roland Pabel) Index: cfg_runlevel =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/cfg_runlevel,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- cfg_runlevel 11 Jan 2004 14:43:04 -0000 1.30 +++ cfg_runlevel 5 Mar 2004 01:55:21 -0000 1.31 @@ -32,7 +32,6 @@ rm -rf $ETCDIR/etc/init.d/boot.d || exit 1 mkdir -p $ETCDIR/etc/init.d/rc{S,0,1,2,3,4,5,6}.d chmod -R 700 $ETCDIR/etc/init.d/* || exit 1 - ln -sf ../boot $ETCDIR/etc/init.d/rcS.d/S00boot || exit 1 insserv -f -d $(grep -l "### BEGIN INIT INFO" $ETCDIR/etc/init.d/*) || exit 1 echo NOT creating links for: grep -L "### BEGIN INIT INFO" $ETCDIR/etc/init.d/* 2> /dev/null Index: heartbeat =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/heartbeat,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- heartbeat 2 Mar 2004 02:59:48 -0000 1.2 +++ heartbeat 5 Mar 2004 01:55:22 -0000 1.3 @@ -4,7 +4,6 @@ # $Date$ # # http://www.devil-linux.org -# WGET added by Gunther Stammwitz <gs...@ma...> # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 @@ -48,8 +47,10 @@ copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1 copy_files $WORKDIR/tmp/etc $ETCDIR/ || exit 1 - useradd -s /bin/false -u 50 hacluster - groupadd -g 50 haclient + useradd -s /bin/false -u 50 hacluster || exit 1 + groupadd -g 50 haclient || exit 1 + + mkdir -p $CDDIR/var/lib/heartbeat || exit 1 rm -rf $WORKDIR/tmp || exit 1 fi |