Update 20-smb-ksmbd

This commit is contained in:
kiddin9 authored and GitHub committed 2026-03-24 02:17:52 +08:00
1 parent ed8bbec346
commit b27f0aff03
1 file changed
+5 -4
@@ -9,10 +9,11 @@ config_file="/etc/config/ksmbd"
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
}