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