debian/init.d.ex
changeset 1 b36b9eee9c41
parent 0 4bc43250587a
equal deleted inserted replaced
0:4bc43250587a 1:b36b9eee9c41
     9 #
     9 #
    10 # Version:	@(#)skeleton  1.9  26-Feb-2001  miquels@cistron.nl
    10 # Version:	@(#)skeleton  1.9  26-Feb-2001  miquels@cistron.nl
    11 #
    11 #
    12 
    12 
    13 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    13 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    14 DAEMON=/usr/sbin/ha-config
    14 DAEMON=/usr/sbin/ha-sync
    15 NAME=ha-config
    15 NAME=ha-sync
    16 DESC=ha-config
    16 DESC=ha-sync
    17 
    17 
    18 test -x $DAEMON || exit 0
    18 test -x $DAEMON || exit 0
    19 
    19 
    20 # Include ha-config defaults if available
    20 # Include ha-sync defaults if available
    21 if [ -f /etc/default/ha-config ] ; then
    21 if [ -f /etc/default/ha-sync ] ; then
    22 	. /etc/default/ha-config
    22 	. /etc/default/ha-sync
    23 fi
    23 fi
    24 
    24 
    25 set -e
    25 set -e
    26 
    26 
    27 case "$1" in
    27 case "$1" in