]>
git.ipfire.org Git - ipfire-2.x.git/blob - src/initscripts/init.d/upnpd
44201a385ac3e8415c5933357d02a09942b29cc8
2 ########################################################################
3 # Begin $rc_base/init.d/
5 # Description : UPnP Starter
7 # Authors : Michael Tremer
11 # Notes : for www.ipfire.org - GPLv2
13 ########################################################################
22 .
/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/