diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-25 12:03:14 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-25 12:03:14 +0200 |
commit | ad07bfe7e54b242afd5df4741fbe60851cf18408 (patch) | |
tree | 9decd244cdeb59ee0c960214b2ec7009f2a2da65 /config | |
parent | 0f6248ec1f0717cf4778bd6cbb9fb2de43c6c809 (diff) | |
download | pfsense-packages-ad07bfe7e54b242afd5df4741fbe60851cf18408.tar.gz pfsense-packages-ad07bfe7e54b242afd5df4741fbe60851cf18408.tar.bz2 pfsense-packages-ad07bfe7e54b242afd5df4741fbe60851cf18408.zip |
Fix things ordering here. Cannot run the package otherwise, need the user/group first.
Diffstat (limited to 'config')
-rw-r--r-- | config/spamd/spamd.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc index bceafd09..6a6b7ca5 100644 --- a/config/spamd/spamd.inc +++ b/config/spamd/spamd.inc @@ -284,9 +284,9 @@ function custom_php_install_command() { global $config, $g; system("touch /var/db/whitelist.txt"); system("touch /var/db/blacklist.txt"); - sync_package_spamd(); exec("/usr/sbin/pw usermod _spamd -g proxy -G _spamd,proxy"); exec("/bin/cp /usr/local/etc/spamd/spamd.conf.sample /usr/local/etc/spamd/spamd.conf"); + sync_package_spamd(); } function custom_php_deinstall_command() { |