diff options
author | Ermal <eri@pfsense.org> | 2013-06-17 07:44:53 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-06-17 07:55:17 +0000 |
commit | 50a88d93fd0ecbf709b6e7b7e381b94feda70481 (patch) | |
tree | bf0e4e17991e56d739f219337dd2055338f4edb6 /etc/inc | |
parent | 85a389c9f1d9485503188901d324e192060ca374 (diff) | |
download | pfsense-50a88d93fd0ecbf709b6e7b7e381b94feda70481.zip pfsense-50a88d93fd0ecbf709b6e7b7e381b94feda70481.tar.gz |
Provide full path to route binary
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 8cb44f4..78e4b34 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -154,12 +154,12 @@ function system_resolvconf_generate($dynupdate = false) { if (is_ipaddrv4($gatewayip)) { /* dns server array starts at 0 */ $dnscountermo = $dnscounter - 1; - mwexec("route change -host " . $syscfg['dnsserver'][$dnscountermo] . " {$gatewayip}"); + mwexec("/sbin/route change -host " . $syscfg['dnsserver'][$dnscountermo] . " {$gatewayip}"); } if (is_ipaddrv6($gatewayip)) { /* dns server array starts at 0 */ $dnscountermo = $dnscounter - 1; - mwexec("route change -host -inet6 " . $syscfg['dnsserver'][$dnscountermo] . " {$gatewayip}"); + mwexec("/sbin/route change -host -inet6 " . $syscfg['dnsserver'][$dnscountermo] . " {$gatewayip}"); } } } |