diff options
Diffstat (limited to 'net-misc/cfengine/files')
-rw-r--r-- | net-misc/cfengine/files/cfengine-2.2.6-typo-fix.patch | 12 | ||||
-rwxr-xr-x | net-misc/cfengine/files/cfenvd.rc6 | 17 | ||||
-rwxr-xr-x | net-misc/cfengine/files/cfexecd.rc6 | 17 |
3 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/cfengine/files/cfengine-2.2.6-typo-fix.patch b/net-misc/cfengine/files/cfengine-2.2.6-typo-fix.patch new file mode 100644 index 000000000000..db53583f6fe9 --- /dev/null +++ b/net-misc/cfengine/files/cfengine-2.2.6-typo-fix.patch @@ -0,0 +1,12 @@ +diff -ur cfengine-2.2.6-orig/src/cfenvd.c cfengine-2.2.6/src/cfenvd.c +--- cfengine-2.2.6-orig/src/cfenvd.c 2008-04-21 23:26:19.000000000 -0700 ++++ cfengine-2.2.6/src/cfenvd.c 2008-04-28 12:08:46.000000000 -0700 +@@ -36,7 +36,7 @@ + #include "cf.defs.h" + #include "cf.extern.h" + #ifdef HAVE_SYS_LOADAVG_H +-v# include <sys/loadavg.h> ++# include <sys/loadavg.h> + #else + # define LOADAVG_5MIN 1 + #endif diff --git a/net-misc/cfengine/files/cfenvd.rc6 b/net-misc/cfengine/files/cfenvd.rc6 new file mode 100755 index 000000000000..5c76bd88dbf2 --- /dev/null +++ b/net-misc/cfengine/files/cfenvd.rc6 @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting cfenvd" + start-stop-daemon --start --quiet --exec /usr/sbin/cfenvd + eend $? +} + +stop() { + ebegin "Stopping cfenvd" + start-stop-daemon --stop --quiet --exec /usr/sbin/cfenvd + eend $? +} diff --git a/net-misc/cfengine/files/cfexecd.rc6 b/net-misc/cfengine/files/cfexecd.rc6 new file mode 100755 index 000000000000..43cc144fff41 --- /dev/null +++ b/net-misc/cfengine/files/cfexecd.rc6 @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting cfexecd" + start-stop-daemon --start --quiet --exec /usr/sbin/cfexecd + eend $? +} + +stop() { + ebegin "Stopping cfexecd" + start-stop-daemon --stop --quiet --exec /usr/sbin/cfexecd + eend $? +} |