]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/system/upnpd
2 ########################################################################
3 # Begin $rc_base/init.d/
5 # Description : UPnP Starter
7 # Authors : Michael Tremer
11 # Notes : for www.ipfire.org - GPLv2
13 ########################################################################
22 eval $
(/usr
/local
/bin
/readhash
/var
/ipfire
/upnp
/settings
)
26 boot_mesg
"Starting Universal Plug'n'Play daemon..."
27 loadproc
/usr
/sbin
/upnpd
$EXTIFACE $INTIFACE
29 [ "$ALLOW_MULTICAST" != "no" ] && route add
-net 239.0.0.0 netmask
255.0.0.0 $INTIFACE
33 boot_mesg
"Stopping Universal Plug'n'Play daemon..."
34 killproc
/usr
/sbin
/upnpd
36 [ "$ALLOW_MULTICAST" != "no" ] && route del
-net 239.0.0.0 netmask
255.0.0.0 $INTIFACE
50 echo "Usage: ${0} {start|stop|reload|restart|status}"
55 # End $rc_base/init.d/