diff options
author | jim-p <jimp@pfsense.org> | 2012-05-15 16:50:07 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-05-15 16:50:07 -0400 |
commit | df973fcb1c7e5da87befa6a49e174dc6a6f351b5 (patch) | |
tree | 3a1f62a64814c11242c3dea41f09631fa71302db /etc | |
parent | 82deea60a71344060102d9a3ebc058737afc7f36 (diff) | |
download | pfsense-df973fcb1c7e5da87befa6a49e174dc6a6f351b5.zip pfsense-df973fcb1c7e5da87befa6a49e174dc6a6f351b5.tar.gz |
Revert "Clear process signals before exec() or ntpd misbehaves if called from PHP on i386." -- this only works on PHP 5.3
This reverts commit ac4bc5853f75a8f8467f5c53704f33e2066c3da6.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 7807ef0..22efd22 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1141,10 +1141,7 @@ function system_ntp_configure() { exec("/bin/mkdir -p /var/empty && chmod ug+rw /var/empty/."); /* start opentpd, set time now and use /var/etc/ntpd.conf */ - $oldset = array(); - pcntl_sigprocmask(SIG_SETMASK, array(), $oldset); exec("/usr/sbin/ntpd -g -c {$g['varetc_path']}/ntpd.conf"); - pcntl_sigprocmask(SIG_SETMASK, $oldset); // Note that we are starting up log_error("NTPD is starting up."); |