From ce335a0d5c3e73485f2898b76a173648991a68a9 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Tue, 8 Nov 2011 21:11:40 +0000 Subject: [PATCH] 99base/init: avoid using cp -t -t is not supported by busybox's cp. Signed-off-by: Daniel Drake --- modules.d/99base/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/99base/init b/modules.d/99base/init index a8fd1f6..fc00e4f 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 -- 2.7.4