diff options
-rw-r--r-- | etc/inc/services.inc | 2 | ||||
-rw-r--r-- | usr/local/pkg/olsrd.xml | 3 | ||||
-rwxr-xr-x | usr/local/www/services_dhcp.php | 1 |
3 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 318624c..245a4c9 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -305,7 +305,7 @@ function interfaces_staticarp_configure($if) { } } else { mwexec("/sbin/ifconfig " . escapeshellarg($ifcfg['if']) . " -staticarp " ); - mwexec("/usr/sbin/arp -ad > /dev/null 2>&1 "); + mwexec("/usr/sbin/arp -da > /dev/null 2>&1 "); } return 0; diff --git a/usr/local/pkg/olsrd.xml b/usr/local/pkg/olsrd.xml index 3e24d3b..cc08064 100644 --- a/usr/local/pkg/olsrd.xml +++ b/usr/local/pkg/olsrd.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8" ?> <packagegui> - <name>OLSRD</name> + <name>olsrd</name> <version>1.0</version> <title>OLSRD</title> <!-- Menu is where this packages menu will appear --> @@ -27,6 +27,7 @@ <!-- configpath gets expanded out automatically and config items will be stored in that location --> <configpath>['installedpackages']['OLSRD']['config']</configpath> + <aftersaveredirect>pkg_edit.php?xml=olsrd.xml&id=0</aftersaveredirect> <!-- fields gets invoked when the user adds or edits a item. the following items will be parsed and rendered for the user as a gui with input, and selectboxes. --> <fields> diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index 05fd9cf..785d3fe 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -175,7 +175,6 @@ if ($_POST) { $config['dhcpd'][$if]['staticarp'] = true; } else { unset($config['dhcpd'][$if]['staticarp']); - mwexec("/usr/sbin/arp -da"); } write_config(); |