summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/pm-utils/service.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/pm-utils/service.patch')
-rw-r--r--abs/core-testing/pm-utils/service.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core-testing/pm-utils/service.patch b/abs/core-testing/pm-utils/service.patch
new file mode 100644
index 0000000..422b3f5
--- /dev/null
+++ b/abs/core-testing/pm-utils/service.patch
@@ -0,0 +1,15 @@
+--- pm/functions.in~ 2008-04-10 17:39:48.000000000 +0000
++++ pm/functions.in 2008-04-10 17:39:58.000000000 +0000
+@@ -138,10 +138,10 @@
+ if ! command_exists service; then
+ service()
+ {
+- if [ -x "/etc/init.d/$1" ]; then
++ if [ -x "/etc/rc.d/$1" ]; then
+ svc="$1"
+ shift
+- "/etc/init.d/$svc" "$@"
++ "/etc/rc.d/$svc" "$@"
+ else
+ log "$1" $": unrecognized service" 1>&2
+ return 1