diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-24 14:29:41 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-24 14:29:41 -0300 |
commit | e80663379bef10c5c0bbf1228030c6c9438278d2 (patch) | |
tree | 35753a8647dba287c90c11f46cba0bfbfcd5d0be /config | |
parent | d3954a387f8b542a388cb0985ab7d2b603fb0d72 (diff) | |
parent | c8914c910dc8606a513c906c695b331271a2c315 (diff) | |
download | pfsense-packages-e80663379bef10c5c0bbf1228030c6c9438278d2.tar.gz pfsense-packages-e80663379bef10c5c0bbf1228030c6c9438278d2.tar.bz2 pfsense-packages-e80663379bef10c5c0bbf1228030c6c9438278d2.zip |
Merge pull request #1022 from doktornotor/patch-2
Diffstat (limited to 'config')
-rw-r--r-- | config/arpwatch/arpwatch.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/arpwatch/arpwatch.xml b/config/arpwatch/arpwatch.xml index aa6a9ae8..dab2a74e 100644 --- a/config/arpwatch/arpwatch.xml +++ b/config/arpwatch/arpwatch.xml @@ -149,9 +149,15 @@ <custom_php_install_command> <![CDATA[ unlink_if_exists("/usr/local/etc/rc.d/arpwatch.sh"); - @link("/usr/sbin/sm.php", "/usr/sbin/sendmail"); + unlink_if_exists("/usr/sbin/sendmail"); + symlink("/usr/sbin/sm.php", "/usr/sbin/sendmail"); ]]> </custom_php_install_command> + <custom_php_deinstall_command> + <![CDATA[ + unlink_if_exists("/usr/sbin/sendmail"); + ]]> + </custom_php_deinstall_command> <custom_php_resync_config_command> <![CDATA[ sync_package_arpwatch(); |