aboutsummaryrefslogtreecommitdiffstats
path: root/packages/arpwatch.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-05 17:16:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-05 17:16:45 +0000
commitf8addcb1c9b6e4f1a73af6a9f24b96fc756aabe7 (patch)
treec701774166ae4cc3df8a2e1179df299d3ce22b00 /packages/arpwatch.xml
parent92485503241dddaafa85fc76c1d0256436147757 (diff)
downloadpfsense-packages-f8addcb1c9b6e4f1a73af6a9f24b96fc756aabe7.tar.gz
pfsense-packages-f8addcb1c9b6e4f1a73af6a9f24b96fc756aabe7.tar.bz2
pfsense-packages-f8addcb1c9b6e4f1a73af6a9f24b96fc756aabe7.zip
* Add PACKAGE: $packagename
* Add EXECUTABLE: $executable-name
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 . " &amp;\n\n");