mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
samba3: trigger reload by network.interface events
This commit is contained in:
parent
2733bc4811
commit
8b0489e4d6
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ service_triggers() {
|
|||
local interface net
|
||||
config_get interface "$1" interface
|
||||
for net in $interface; do
|
||||
procd_add_interface_trigger "interface.*" "${net}" /etc/init.d/samba reload
|
||||
procd_add_interface_trigger "network.interface" "${net}" /etc/init.d/samba reload
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue