diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/pm-utils/service.patch | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/pm-utils/service.patch')
-rw-r--r-- | abs/core-testing/pm-utils/service.patch | 15 |
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 |