]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
systemd/service-to-run.sh: do not copy the target subdirs
authorHarald Hoyer <harald@redhat.com>
Thu, 12 Jul 2012 06:56:36 +0000 (08:56 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 12 Jul 2012 06:56:36 +0000 (08:56 +0200)
modules.d/98systemd/service-to-run.sh

index 797958e6d4c42ab4c0cc3c26947dbd0a68198dda..e09acc595c7e89203821b81bacaefc6643a8c8df 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
 mkdir -p /run/systemd/system/
-cp -a -t /run/systemd/system/ /etc/systemd/system/*
+cp -d -t /run/systemd/system/ /etc/systemd/system/*
+exit 0