mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 02:32:51 +08:00
Update 20-smb-ksmbd
This commit is contained in:
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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user