diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-21 04:41:08 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-21 04:41:08 +0000 |
commit | edd16b8cf9fd396c03b0add6632986a98eca03f7 (patch) | |
tree | 1ca54192008de4832b9c4d0da988fb50fd1956b2 /packages/assp.xml | |
parent | c34fb5342a439e59323e34185727f182e52801e2 (diff) | |
download | pfsense-packages-edd16b8cf9fd396c03b0add6632986a98eca03f7.tar.gz pfsense-packages-edd16b8cf9fd396c03b0add6632986a98eca03f7.tar.bz2 pfsense-packages-edd16b8cf9fd396c03b0add6632986a98eca03f7.zip |
Use chmod() instead of system() (or equivalent) for all package startup scripts.
Diffstat (limited to 'packages/assp.xml')
-rw-r--r-- | packages/assp.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/assp.xml b/packages/assp.xml index 4e4cc14f..5d69218c 100644 --- a/packages/assp.xml +++ b/packages/assp.xml @@ -20,7 +20,7 @@ fwrite($fout, "# package management system\n\n"); fwrite($fout, "/usr/bin/perl /usr/local/assp/assp.pl &\n\n"); fclose($fout); - system("chmod 555 /usr/local/etc/rc.d/assp.sh"); + chmod("/usr/local/etc/rc.d/assp.sh", 0755); system("/usr/local/etc/rc.d/assp.sh &"); </custom_php_install_command> <custom_php_deinstall_command> |