daemon_control/yWeb: add minidlna support

Origin commit data
------------------
Branch: ni/coolstream
Commit: 431f222000
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-01-06 (Wed, 06 Jan 2021)

Origin message was:
------------------
- daemon_control/yWeb: add minidlna support

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-01-06 23:05:01 +01:00
parent 479027ade4
commit 1b8ef09081
8 changed files with 40 additions and 0 deletions

View File

@@ -102,6 +102,16 @@ case "$1" in
$y_path_sbin/service djmount stop >/dev/console
rm -f /var/etc/.djmount
;;
minidlna_start)
echo "[$BNAME] minidlna start"
touch /var/etc/.minidlnad
$y_path_sbin/service minidlnad start >/dev/console
;;
minidlna_stop)
echo "[$BNAME] minidlna stop"
$y_path_sbin/service minidlnad stop >/dev/console
rm -f /var/etc/.minidlnad
;;
xud_start)
echo "[$BNAME] xupnpd start"
touch /var/etc/.xupnpd

View File

@@ -488,6 +488,8 @@ case "$action" in
p_ush_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh ush_stop;;
p_djm_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh djm_start;;
p_djm_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh djm_stop;;
p_minidlna_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh minidlna_start;;
p_minidlna_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh minidlna_stop;;
p_xud_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh xud_start;;
p_xud_stop) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh xud_stop;;
p_cro_start) %(PRIVATE_HTTPDDIR)/scripts/Y_NI_Plugin-control.sh cro_start;;