summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Frohn <frohn@informatik.rwth-aachen.de>2014-02-19 15:34:39 +0100
committerMichał Górny <mgorny@gentoo.org>2014-02-19 15:43:46 +0100
commit9912b4df3e29a87393b0db6f927f0a90f166c304 (patch)
tree47e1ec70f915e66538eeece5eee4df421d80e6d1
parentInclude udev rules in the source tarball (diff)
downloadgentoo-systemd-integration-9912b4df3e29a87393b0db6f927f0a90f166c304.tar.gz
gentoo-systemd-integration-9912b4df3e29a87393b0db6f927f0a90f166c304.tar.bz2
gentoo-systemd-integration-9912b4df3e29a87393b0db6f927f0a90f166c304.zip
Use right filenames for .stop scripts in local-generator
-rwxr-xr-xsystem-generators/gentoo-local-generator4
1 files changed, 2 insertions, 2 deletions
diff --git a/system-generators/gentoo-local-generator b/system-generators/gentoo-local-generator
index 3a344c8..90cbd8b 100755
--- a/system-generators/gentoo-local-generator
+++ b/system-generators/gentoo-local-generator
@@ -30,9 +30,9 @@ for f in *.start *.stop; do
;;
*.stop)
is_start=
- fn=${locald_dir}/${f%.stop}
+ fn=${f%.stop}
start_cmd=/bin/true
- stop_cmd="/usr/bin/env ${f}"
+ stop_cmd="/usr/bin/env ${locald_dir}/${f}"
;;
esac