packages/ipv6/aiccu/files/aiccu.hotplug
acinonyx 621678bcea [packages] aiccu: Add 'restart' option to force restart of daemon instead of HUP (#7629)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-03 16:05:42 +00:00

3 lines
115 B
Bash

#!/bin/sh
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && /etc/init.d/aiccu enabled && /etc/init.d/aiccu restart