diff options
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 3186f0f..a499644 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -58,7 +58,10 @@ function restart_packages() { } /* Interface IP address has changed */ -$argument = str_replace("\n", "", $argv[1]); +if (isset($_GET['interface'])) + $argument = $_GET['interface']; +else + $argument = str_replace("\n", "", $argv[1]); log_error("rc.newwanip: Informational is starting {$argument}."); |