Renamed tftp-hpa package to tftpd to work with webif

Removed uShare package
This commit is contained in:
Arne Fitzenreiter
2009-02-13 20:52:31 +01:00
parent cc3232ce6c
commit d49c399326
14 changed files with 3 additions and 255 deletions

View File

@@ -1,51 +0,0 @@
#!/bin/sh
########################################################################
# Begin $rc_base/init.d/
#
# Description : ushare initscript
#
# Authors : Arne Fitzenreiter
#
# Version : 01.00
#
# Notes : for www.ipfire.org - GPLv3
#
########################################################################
. /etc/sysconfig/rc
. ${rc_functions}
case "$1" in
start)
boot_mesg "Starting uShare uPnP Mediaserver..."
route add -net 239.0.0.0 netmask 255.0.0.0 green0
loadproc sudo -u nobody /usr/bin/ushare -n $(hostname -f) \
-i green0 --no-web --no-telnet \
-c /var/mp3 -c /var/video -D > /dev/null 2>&1
evaluate_retval
;;
stop)
boot_mesg "Stopping uShare uPnP Mediaserver..."
killproc /usr/bin/ushare
evaluate_retval
route del -net 239.0.0.0 netmask 255.0.0.0 green0
;;
restart)
${0} stop
sleep 1
${0} start
;;
status)
statusproc /usr/bin/ushare
;;
*)
echo "Usage: ${0} {start|stop|reload|restart|status}"
exit 1
;;
esac
# End $rc_base/init.d/