From 90c54d668f3b0c5bcd7767e11da5aa1479b4861f Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Sat, 26 Feb 2005 04:35:32 +0000 Subject: * Add config locking and remounting. * FreeRADIUS typo correction. * Change in powerdns.xml: nmap -> powerdns --- packages/pure-ftpdsettings.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/pure-ftpdsettings.xml') diff --git a/packages/pure-ftpdsettings.xml b/packages/pure-ftpdsettings.xml index 111548c7..c6435347 100644 --- a/packages/pure-ftpdsettings.xml +++ b/packages/pure-ftpdsettings.xml @@ -81,6 +81,8 @@ + conf_mount_rw(); + config_lock(); mwexec("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"); @@ -95,6 +97,8 @@ $startline .= " -B /usr/local/etc/pure-ftpd.conf"; fwrite($fout, $startline . "\n"); fclose($fout); + conf_mount_ro(); + config_unlock(); mwexec("chmod a+x /usr/local/etc/rc.d/pure-ftpd.sh"); mwexec("/usr/local/etc/rc.d/pure-ftpd.sh"); -- cgit v1.2.3