summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-09-20 14:56:39 +0000
committerErmal Luçi <eri@pfsense.org>2008-09-20 14:56:39 +0000
commit3cf159129684e879ee37525f199670240de8ad4c (patch)
tree3dbf71c8584d6cc8c2da40fc551173af847dbb26 /etc
parent1c7b35aed11baad7dc51ba162b8e89ee27e8d237 (diff)
downloadpfsense-3cf159129684e879ee37525f199670240de8ad4c.zip
pfsense-3cf159129684e879ee37525f199670240de8ad4c.tar.gz
kill(1) does not need SIG in front of signals anymore. Though i do not think mpd4 responds to SIGUSR[1,2] the same as mpd3.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index cfc45c0..ef13684 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1518,13 +1518,13 @@ function interface_pppoe_restart($interface = "wan") {
function interface_pppoe_down($interface = "wan") {
global $g;
- sigkillbypid("{$g['varrun_path']}/pppoe_{$interface}.pid", "SIGUSR2");
+ sigkillbypid("{$g['varrun_path']}/pppoe_{$interface}.pid", "USR2");
sleep(1);
}
function interface_pppoe_up($interface = "wan") {
global $g;
- sigkillbypid("{$g['varrun_path']}/pppoe_{$interface}.pid", "SIGUSR1");
+ sigkillbypid("{$g['varrun_path']}/pppoe_{$interface}.pid", "USR1");
sleep(1);
}
@@ -1655,13 +1655,13 @@ function interface_pptp_restart($interface = "wan") {
function interface_pptp_down($interface = "wan") {
global $g;
- sigkillbypid("{$g['varrun_path']}/pptp_{$interface}.pid", "SIGUSR2");
+ sigkillbypid("{$g['varrun_path']}/pptp_{$interface}.pid", "USR2");
sleep(1);
}
function interface_pptp_up($interface = "wan") {
global $g;
- sigkillbypid("{$g['varrun_path']}/pptp_{$interface}.pid", "SIGUSR1");
+ sigkillbypid("{$g['varrun_path']}/pptp_{$interface}.pid", "USR1");
sleep(1);
}
OpenPOWER on IntegriCloud