[Lunar-commits] CVS: moonbase/net/dhcp/init.d dhcpd,1.1.1.1,1.2
elaine at lunar-linux.org
elaine at lunar-linux.org
Wed Jan 7 16:45:07 GMT 2004
- Previous message: [Lunar-commits] CVS: moonbase/mail/sendmail Makefile, NONE,
1.1 BUILD, 1.6, 1.7 DETAILS, 1.9, 1.10 POST_INSTALL, 1.1, 1.2
- Next message: [Lunar-commits] CVS: moonbase/web/PyDS DETAILS,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/lunar/moonbase/net/dhcp/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv10599
Modified Files:
dhcpd
Log Message:
Bkw's improved init script
Index: dhcpd
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/dhcp/init.d/dhcpd,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- dhcpd 21 Aug 2002 00:55:21 -0000 1.1.1.1
+++ dhcpd 7 Jan 2004 16:45:05 -0000 1.2
@@ -7,16 +7,20 @@
# config: /etc/config.d/dhcpd
# config: /etc/dhcpd.conf
#
-
+#$DHCPD_INTERFACES=eth0
# Get service config
[ -f /etc/config.d/dhcpd ] && . /etc/config.d/dhcpd
ARGS="-q $DHCPD_INTERFACES"
-reload () {
- # dhcpd cannot reload
- $0 restart
+start() {
+ echo -n "Starting dhcpd: "
+ /usr/sbin/dhcpd $ARGS && echo -e $RESULT_OK || echo -e $RESULT_FAIL
}
+reload () {
+ # dhcpd cannot reload
+ $0 restart
+}
+
. /lib/lsb/init-functions
-
- Previous message: [Lunar-commits] CVS: moonbase/mail/sendmail Makefile, NONE,
1.1 BUILD, 1.6, 1.7 DETAILS, 1.9, 1.10 POST_INSTALL, 1.1, 1.2
- Next message: [Lunar-commits] CVS: moonbase/web/PyDS DETAILS,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Lunar-commits
mailing list