mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 06:05:13 +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() {
|
wait_for_init() {
|
||||||
for i in `seq 30`
|
for i in `seq 30`
|
||||||
do
|
do
|
||||||
[ -e /tmp/procd.done ] || {
|
if ubus call service list '{"name":"samba4"}' 2>/dev/null | grep -q "samba4"; then
|
||||||
sleep 1; continue;
|
sleep 2
|
||||||
}
|
return
|
||||||
return
|
fi
|
||||||
|
sleep 1
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user