summaryrefslogtreecommitdiff
path: root/arch-daemons
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-08-21 15:06:40 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-08-21 15:06:40 -0300
commit2fb1be996d4d8d459f4b4953a84af63f981b0bf0 (patch)
treef168040a0fc7e8e61c93197354938d95454e12a9 /arch-daemons
parentabbce1c6720dc3836c1df1337a49768158dff62b (diff)
parent7e019c49b21cf2e975ff7d8b2bedf3bb2477d1c6 (diff)
Merge branch 'master' of git://projects.archlinux.org/initscripts2012.08.21
Conflicts: Makefile
Diffstat (limited to 'arch-daemons')
-rwxr-xr-xarch-daemons8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch-daemons b/arch-daemons
index ffe4289..b4398b4 100755
--- a/arch-daemons
+++ b/arch-daemons
@@ -31,7 +31,7 @@ create_unit() {
printf \
'[Unit]
SourcePath=/etc/rc.conf
-Documentation=https://raw.github.com/falconindy/initscripts-systemd/master/README
+Documentation=man:arch-daemons(8)
Description=Legacy unit for %s
%s
[Service]
@@ -47,18 +47,18 @@ for daemon in /etc/rc.d/*; do
create_unit "${daemon##*/}".service
done
-[[ -d $dest/multi-user.target.wants ]] || /bin/mkdir -p "$dest/multi-user.target.wants"
+[[ -d $dest/arch-daemons.target.wants ]] || /bin/mkdir -p "$dest/arch-daemons.target.wants"
for daemon in "${DAEMONS[@]}"; do
service="$daemon.service"
case ${daemon:0:1} in
'!') continue ;;
'@') create_unit "${service:1}" "${deps[@]}"
- ln -s "../${service:1}" "$dest/multi-user.target.wants"
+ ln -s "../${service:1}" "$dest/arch-daemons.target.wants"
;;
*) create_unit "$service" "${deps[@]}"
deps+=("$service")
- ln -s "../$service" "$dest/multi-user.target.wants"
+ ln -s "../$service" "$dest/arch-daemons.target.wants"
;;
esac
done