aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pure-ftpd.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-09 23:23:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-09 23:23:18 +0000
commitfd0ee66da56bfff6a2f77151cf98cf7fb367d738 (patch)
treec28b6cc58b906913ebdc17406c9685db1925829d /packages/pure-ftpd.xml
parent35e2ddbf33bcc6e1d0e81fe609084d75545b2594 (diff)
downloadpfsense-packages-fd0ee66da56bfff6a2f77151cf98cf7fb367d738.tar.gz
pfsense-packages-fd0ee66da56bfff6a2f77151cf98cf7fb367d738.tar.bz2
pfsense-packages-fd0ee66da56bfff6a2f77151cf98cf7fb367d738.zip
Use full path to all external commands
Diffstat (limited to 'packages/pure-ftpd.xml')
-rw-r--r--packages/pure-ftpd.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/pure-ftpd.xml b/packages/pure-ftpd.xml
index dd6f4e3a..597c434f 100644
--- a/packages/pure-ftpd.xml
+++ b/packages/pure-ftpd.xml
@@ -68,18 +68,18 @@
</field>
</fields>
<custom_php_install_command>
- mwexec("rm /usr/local/etc/rc.d/pure-ftp*");
+ mwexec("/bin/rm /usr/local/etc/rc.d/pure-ftp*");
$fout = fopen("/usr/local/etc/rc.d/pure-ftpd.sh","w");
fwrite($fout, "#!/bin/sh\n\n");
fwrite($fout, "/usr/local/sbin/pure-ftpd -A -B /usr/local/etc/pure-ftpd.conf\n");
fclose($fout);
- mwexec("chmod a+x /usr/local/etc/rc.d/pure-ftpd.sh");
+ mwexec("/bin/chmod a+x /usr/local/etc/rc.d/pure-ftpd.sh");
mwexec("/usr/local/etc/rc.d/pure-ftpd.sh");
</custom_php_install_command>
<custom_php_deinstall_command>
mwexec("/usr/bin/killall pure-ftpd");
- system("rm -rf /usr/local/etc/pure*");
- system("rm -rf /usr/local/etc/rc.d/pure*");
+ system("/bin/rm -rf /usr/local/etc/pure*");
+ system("/bin/rm -rf /usr/local/etc/rc.d/pure*");
</custom_php_deinstall_command>
<custom_add_php_command>
conf_mount_rw();