mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
reload mcpd upon lan ifup as well
This commit is contained in:
parent
e0882062cc
commit
ef8b04e060
1 changed files with 7 additions and 0 deletions
7
mcpd/files/etc/hotplug.d/55-mcpd
Normal file
7
mcpd/files/etc/hotplug.d/55-mcpd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ "$ACTION" = ifup ] || exit 0
|
||||
|
||||
pidof mcpd >/dev/null || exit 0
|
||||
/etc/init.d/mcpd enabled && /etc/init.d/mcpd reload
|
||||
|
||||
Loading…
Add table
Reference in a new issue