From: Harald Hoyer Date: Thu, 12 Jul 2012 06:56:36 +0000 (+0200) Subject: systemd/service-to-run.sh: do not copy the target subdirs X-Git-Tag: 021~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f31049c17f76048799017de52cb65c8906070b3e;p=thirdparty%2Fdracut.git systemd/service-to-run.sh: do not copy the target subdirs --- diff --git a/modules.d/98systemd/service-to-run.sh b/modules.d/98systemd/service-to-run.sh index 797958e6d..e09acc595 100755 --- a/modules.d/98systemd/service-to-run.sh +++ b/modules.d/98systemd/service-to-run.sh @@ -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