mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-09 15:40:45 +02:00
Add web server control script (#1714)
This commit is contained in:
@@ -13,7 +13,7 @@ echo ""
|
||||
if [ -n "$F_cmd" ]; then
|
||||
case "$F_cmd" in
|
||||
get_services)
|
||||
services="auto-night-detection debug-on-osd ftp_server mdns-responder mqtt-control mqtt-status onvif-srvd recording rtsp sound-on-startup dropbear telegram-bot timelapse"
|
||||
services="auto-night-detection debug-on-osd ftp_server mdns-responder mqtt-control mqtt-status onvif-srvd recording rtsp sound-on-startup dropbear telegram-bot timelapse lighttpd"
|
||||
for service in $services ; do
|
||||
echo "${service}#:#$(test -f /run/${service}.pid && echo 'started' || echo 'stopped')#:#$(test -f /system/sdcard/config/autostart/${service} && echo 'true' || echo 'false')#:#false"
|
||||
done
|
||||
|
@@ -281,6 +281,7 @@ var serviceFriendlyNames = {
|
||||
"sound-on-startup": "Play Startup Sound",
|
||||
"telegram-bot": "Telegram Bot",
|
||||
"timelapse": "Timelapse",
|
||||
"lighttpd": "Web server",
|
||||
};
|
||||
|
||||
//Function get config
|
||||
|
Reference in New Issue
Block a user