packages/net/miniupnpd/files/miniupnpd.hotplug

3 lines
123 B
Plaintext
Raw Normal View History

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