New secubox-app-smbfs package for SMB/CIFS remote directory management with smbfsctl CLI (add/remove/mount/umount/test/status), UCI config, auto-mount init script, and Jellyfin/Lyrion media path integration. Glances LXC: host bind mounts (/rom, /overlay, /boot, /srv), Docker socket fix (symlink loop), fs plugin @exit_after patch, hostname/OS identity, pre-generated /etc/mtab. KISS READMEs for secubox-app-jellyfin and luci-app-jellyfin. Planning files updated with Domoticz IoT, AI Gateway strategy, App Store P2P emancipation, and v2 roadmap items. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
28 lines
407 B
Bash
28 lines
407 B
Bash
#!/bin/sh /etc/rc.common
|
|
# SecuBox SMB/CIFS mount manager init script
|
|
|
|
START=90
|
|
STOP=15
|
|
USE_PROCD=1
|
|
|
|
start_service() {
|
|
local enabled
|
|
enabled="$(uci -q get smbfs.global.enabled)"
|
|
[ "$enabled" = "1" ] || return 0
|
|
|
|
/usr/sbin/smbfsctl mount-all
|
|
}
|
|
|
|
stop_service() {
|
|
/usr/sbin/smbfsctl umount-all
|
|
}
|
|
|
|
reload_service() {
|
|
stop_service
|
|
start_service
|
|
}
|
|
|
|
service_triggers() {
|
|
procd_add_reload_trigger "smbfs"
|
|
}
|