aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-10-11 17:31:44 -0400
committerjim-p <jim@pingle.org>2009-10-11 17:31:44 -0400
commit9cc8c8747ae32097e296317df3c92fc7565da9ab (patch)
treef1da1e0ab63c242df626f8847db93f0e6e49ecaa
parent8848d4ba1644cb4c279605a9d2d696801346664b (diff)
downloadpfsense-packages-9cc8c8747ae32097e296317df3c92fc7565da9ab.tar.gz
pfsense-packages-9cc8c8747ae32097e296317df3c92fc7565da9ab.tar.bz2
pfsense-packages-9cc8c8747ae32097e296317df3c92fc7565da9ab.zip
Make rc script executable, otherwise the service never starts.
-rw-r--r--config/nrpe2/nrpe2.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/nrpe2/nrpe2.inc b/config/nrpe2/nrpe2.inc
index 48a9b480..261f2e3b 100644
--- a/config/nrpe2/nrpe2.inc
+++ b/config/nrpe2/nrpe2.inc
@@ -126,6 +126,7 @@ run_rc_command "$1"
EOD;
fwrite($fd, $rc_file);
fclose($fd);
+ chmod('/usr/local/etc/rc.d/nrpe2.sh', 0755);
conf_mount_ro();
}