aboutsummaryrefslogtreecommitdiffstats
path: root/packages/arpwatch.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/arpwatch.xml')
-rw-r--r--packages/arpwatch.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/arpwatch.xml b/packages/arpwatch.xml
index 0a8d6b34..b244aace 100644
--- a/packages/arpwatch.xml
+++ b/packages/arpwatch.xml
@@ -32,7 +32,10 @@
config_lock();
global $config;
$fout = fopen("/usr/local/etc/rc.d/arpwatch.sh","w");
- fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n");
+ fwrite($fout, "#!/bin/sh\n\n");
+ fwrite($fout, "# PACKAGE: Arpwatch\n");
+ fwrite($fout, "# EXECUTABLE: arpwatch\n");
+ fwrite($fout, "\n# This file was automatically generated by the pfSense\n# package management system.\n\n");
if(isset($config['installedpackages']['arpwatch']['config'])) {
$int = convert_friendly_interface_to_real_interface_name($config['installedpackages']['arpwatch']['config'][0]['interface']);
fwrite($fout, "/usr/local/sbin/arpwatch -d -i " . $int . " &\n\n");