Parent Directory
|
Revision Log
added packages for static and dynamic multicast routing
| 1 | #!/bin/sh |
| 2 | |
| 3 | . /etc/rc.conf |
| 4 | |
| 5 | case "$1" in |
| 6 | autostart) |
| 7 | test x"${smcroute:-NO}" = x"NO" && exit 0 |
| 8 | exec $0 start |
| 9 | ;; |
| 10 | start) |
| 11 | [ -d /var/lib ] || mkdir /var/lib |
| 12 | smcroute -d |
| 13 | ;; |
| 14 | stop) |
| 15 | killall smcroute |
| 16 | ;; |
| 17 | restart) |
| 18 | $0 stop |
| 19 | sleep 3 |
| 20 | $0 start |
| 21 | ;; |
| 22 | *) |
| 23 | echo "Usage: $0 {start | stop | restart}" |
| 24 | exit 1 |
| 25 | ;; |
| 26 | esac |
| 27 | exit $? |
| Name | Value |
|---|---|
| svn:executable | * |
| root@freewrt.org:443 | ViewVC Help |
| Powered by ViewVC 1.1.20 |