diff options
author | Ermal <eri@pfsense.org> | 2013-03-19 20:19:03 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-03-19 20:19:03 +0000 |
commit | a9518178f9aeead27fa40aef0fd040682f6f07f2 (patch) | |
tree | c8795a089b00d1a88e8c09100a9e3d1be64adbc5 /etc/inc/interfaces.inc | |
parent | 4e6667b2197f2f99b7a9b70c9a47df7029adb3d4 (diff) | |
download | pfsense-a9518178f9aeead27fa40aef0fd040682f6f07f2.zip pfsense-a9518178f9aeead27fa40aef0fd040682f6f07f2.tar.gz |
Remove functions that are not used now with once mode of rtsold
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 97b8c08..3935d71 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1199,9 +1199,6 @@ function interface_bring_down($interface = "wan", $destroy = false, $ifacecfg = $pidv6 = find_dhcp6c_process($realif); if($pidv6) posix_kill($pidv6, SIGTERM); - $pidv6 = find_rtsold_process($realif); - if($pidv6) - posix_kill($pidv6, SIGTERM); sleep(3); unlink_if_exists("{$g['varetc_path']}/dhcp6c_{$interface}.conf"); if (does_interface_exist("$realif")) { @@ -2691,17 +2688,6 @@ function find_dhclient_process($interface) { return intval($pid); } -function find_rtsold_process($interface) { - global $g; - - if ($interface && isvalidpid("{$g['varrun_path']}/rtsold_{$interface}.pid")) - $pid = trim(file_get_contents("{$g['varrun_path']}/rtsold_{$interface}.pid"), " \n"); - else - return(false); - - return intval($pid); -} - function find_dhcp6c_process($interface) { global $g; |