Browse Source

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 13 years ago committed by Harald Hoyer
parent
commit
ce335a0d5c
  1. 2
      modules.d/99base/init

2
modules.d/99base/init

@ -133,7 +133,7 @@ fi @@ -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

Loading…
Cancel
Save