Update 20-smb

This commit is contained in:
kiddin9 authored and GitHub committed 2026-03-24 02:19:06 +08:00
1 parent 47b1216a01
commit ca3783e295
1 file changed
+6 -5
@@ -9,12 +9,13 @@ config_file="/etc/config/samba4"
wait_for_init() {
for i in `seq 30`
do
[ -e /tmp/procd.done ] || {
sleep 1; continue;
}
return
if ubus call service list '{"name":"samba4"}' 2>/dev/null | grep -q "samba4"; then
sleep 2
return
fi
sleep 1
done
}
}}
smb_handle() {
local path