Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20833/scripts
Modified Files:
Tag: rel-1-2-patches
heartbeat hotplug samba
Log Message:
- hotplug init script can now be disabled (Heiko + Holger Mueller)
- heartbeat init script can now be disabled (Heiko + Holger Mueller)
- added missing directory /var/log/samba (Heiko + Holger Mueller)
- postgresql: fixed problem if you move the PGDATA dir to another location
(Heiko + Holger Mueller)
- ez-ipupdate: fixed typo, should be started as daemon and after
named/dnsmasq (Heiko + Holger Mueller)
Index: heartbeat
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/heartbeat,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- heartbeat 5 Mar 2004 01:55:22 -0000 1.3
+++ heartbeat 16 Jun 2004 02:29:42 -0000 1.3.2.1
@@ -53,6 +53,13 @@
mkdir -p $CDDIR/var/lib/heartbeat || exit 1
rm -rf $WORKDIR/tmp || exit 1
+
+ cp -dp $MYDIR/scripts/heartbeat $ETCDIR/etc/init.d/ || exit 1
+
+ echo "# Start $MYNAME?" >> $CONFIGFILE
+ echo "START_$MYNAME=no" >> $CONFIGFILE
+ echo >> $CONFIGFILE
+ echo "HELP_$MYNAME=\"$MYNAME is to control failover servers\"" >> $SOFTWAREHELP
fi
;;
Index: samba
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/samba,v
retrieving revision 1.24
retrieving revision 1.24.2.1
diff -u -d -r1.24 -r1.24.2.1
--- samba 1 Feb 2004 15:00:55 -0000 1.24
+++ samba 16 Jun 2004 02:29:42 -0000 1.24.2.1
@@ -58,7 +58,8 @@
mkdir -p $CDDIR/var/lock/samba || exit 1
copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1
rm -rf $WORKDIR/tmp || exit 1
- mkdir -p $CDDIR/lib
+ mkdir -p $CDDIR/lib || exit 1
+ mkdir -p $CDDIR/var/log/samba || exit 1
cp nsswitch/libnss_winbind.so $CDDIR/lib || exit 1
ln -sf libnss_winbind.so $CDDIR/lib/libnss_winbind.so.2 || exit 1
Index: hotplug
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/hotplug,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -d -r1.10 -r1.10.2.1
--- hotplug 11 Jan 2004 14:43:04 -0000 1.10
+++ hotplug 16 Jun 2004 02:29:42 -0000 1.10.2.1
@@ -43,6 +43,11 @@
cp -dpR ./sbin/* $CDDIR/sbin/ || exit 1
cp -p $MYDIR/scripts/hotplug $ETCDIR/etc/init.d/ || exit 1
+ echo "# Start $MYNAME?" >> $CONFIGFILE
+ echo "START_$MYNAME=no" >> $CONFIGFILE
+ echo >> $CONFIGFILE
+ echo "HELP_$MYNAME=\"$MYNAME automatically uses hotplug devices\"" >> $SOFTWAREHELP
+
fi
;;
* )
|