diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/upnpd.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/upnpd.xml b/packages/upnpd.xml index 0a8517d4..2b6d23e2 100644 --- a/packages/upnpd.xml +++ b/packages/upnpd.xml @@ -2,7 +2,7 @@ <packagegui> <name>upnp</name> <version>0.92_2</version> - <custom_php_resync_config_command> + <custom_php_command_before_form> function sync_upnp() { $lanif = $config['interfaces']['lan']['if']; $wanif = get_real_wan_interface(); @@ -28,6 +28,8 @@ /* alright, thats all we need. start up! */ mwexec("/usr/local/etc/rc.d/upnpd.sh"); } + </custom_php_command_before_form> + <custom_php_resync_config_command> sync_upnp(); </custom_php_resync_config_command> <custom_php_install_command> |