mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 18:35:13 +08:00
🏅 Sync 2026-03-24 02:21:05
This commit is contained in:
1 parent
ca3783e295
commit
e665eecc31
14 files changed
+356
-68
No files matched your search
@@ -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