Update 20-smb-ksmbd

This commit is contained in:
kiddin9 2026-03-24 02:18:21 +08:00 committed by GitHub
parent d8498fd86e
commit c7554ae729
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ config_file="/etc/config/ksmbd"
wait_for_init() {
for i in `seq 30`
do
if ubus call service list '{"name":"samba4"}' 2>/dev/null | grep -q "samba4"; then
if ubus call service list '{"name":"ksmbd"}' 2>/dev/null | grep -q "ksmbd"; then
sleep 2
return
fi