99base/init: avoid using cp -t

-t is not supported by busybox's cp.

Signed-off-by: Daniel Drake <dsd@laptop.org>
master
Daniel Drake 2011-11-08 21:11:40 +00:00 committed by Harald Hoyer
parent 01f896d38e
commit ce335a0d5c
1 changed files with 1 additions and 1 deletions

View File

@ -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