packages/net/miniupnpd/files/miniupnpd.hotplug
nbd 74d184a552 clean up miniupnpd package and update to latest version (resync with x-wrt)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-08 18:36:31 +00:00

3 lines
123 B
Bash

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