Changeset 1430 for trunk/packages/invirt-dhcp/debian/invirt-dhcp.init
- Timestamp:
- Oct 29, 2008, 12:42:35 PM (16 years ago)
- Location:
- trunk/packages/invirt-dhcp
- Files:
-
- 2 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dhcp/debian/invirt-dhcp.init
r1429 r1430 1 1 #! /bin/sh 2 2 ### BEGIN INIT INFO 3 # Provides: sipb-xen-dhcp3 # Provides: invirt-dhcp 4 4 # Required-Start: $local_fs $remote_fs 5 5 # Required-Stop: $local_fs $remote_fs 6 6 # Default-Start: 2 3 4 5 7 7 # Default-Stop: 0 1 6 8 # Short-Description: sipb-xenDHCP server8 # Short-Description: invirt DHCP server 9 9 # Description: 10 10 ### END INIT INFO 11 11 12 # Author: SIPB Xen Project <sipb-xen@mit.edu>12 # Author: Invirt project <invirt@mit.edu> 13 13 14 14 # Do NOT "set -e" … … 16 16 # PATH should only include /usr/* if it runs after the mountnfs.sh script 17 17 PATH=/sbin:/usr/sbin:/bin:/usr/bin 18 DESC="The sipb-xenDHCP server"19 NAME= sipb-xen-dhcp20 DAEMON=/usr/sbin/ sipb-xen-dhcpserver18 DESC="The Invirt DHCP server" 19 NAME=invirt-dhcp 20 DAEMON=/usr/sbin/invirt-dhcpserver 21 21 DAEMON_ARGS="" 22 22 PIDFILE=/var/run/$NAME.pid … … 46 46 # 2 if daemon could not be started 47 47 daemon --running -n $NAME && return 1 48 daemon -r - D "$(dirname $DAEMON)" -O daemon.info -E daemon.err -n $NAME -U $DAEMON $DAEMON_ARGS || return 248 daemon -r -O daemon.info -E daemon.err -n $NAME -U $DAEMON $DAEMON_ARGS || return 2 49 49 } 50 50
Note: See TracChangeset
for help on using the changeset viewer.