English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/package/smcroute/files/smcroute.init

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3826 - (show annotations) (download)
Wed Nov 26 16:58:33 2008 UTC (5 years, 2 months ago) by markus
File size: 312 byte(s)
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 $?

Properties

Name Value
svn:executable *

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20