reload mcpd upon lan ifup as well

This commit is contained in:
Sukru Senli 2015-09-24 11:01:40 +02:00
parent e0882062cc
commit ef8b04e060

View 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