From: Daniel Drake Date: Tue, 8 Nov 2011 21:11:40 +0000 (+0000) Subject: 99base/init: avoid using cp -t X-Git-Tag: 014~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce335a0d5c3e73485f2898b76a173648991a68a9;p=thirdparty%2Fdracut.git 99base/init: avoid using cp -t -t is not supported by busybox's cp. Signed-off-by: Daniel Drake --- diff --git a/modules.d/99base/init b/modules.d/99base/init index a8fd1f6fe..fc00e4fea 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -133,7 +133,7 @@ fi if ! ismounted /run; then mkdir -m 0755 /newrun mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /newrun >/dev/null 2>&1 - cp -a -t /newrun /run/* + cp -a /run/* /newrun mount --move /newrun /run rm -fr /newrun fi