Added support for SSL
[openwrt.git] / openwrt / package / vrrpd / files / vrrpd.init
1 #!/bin/sh
2
3 BIN=vrrpd
4 DEFAULT=/etc/default/$BIN
5 [ -f $DEFAULT ] && . $DEFAULT
6 RUN_D=/var/run
7 PID_F=$RUN_D/$BIN_${IF}_${ID}.pid
8
9 case $1 in
10 start)
11 $BIN $OPTIONS
12 ;;
13 stop)
14 [ -f $PID_F ] && kill $(cat $PID_F) >/dev/null 2>&1
15 ;;
16 *)
17 echo "usage: $0 (start|stop)"
18 exit 1
19 esac
20
21 exit $?
This page took 0.043033 seconds and 5 git commands to generate.