summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x1_makerootfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/1_makerootfs.sh b/1_makerootfs.sh
index e00c0b8..bd32573 100755
--- a/1_makerootfs.sh
+++ b/1_makerootfs.sh
@@ -181,7 +181,7 @@ fi
# ifupdown temporarily installs a dir, but cannot replace with symlink later due to rad-only rootfs
for context in network resolvconf; do
if [ -d "$targettemp/etc/$context/run" ] && [ ! -L "$targettemp/etc/$context/run" ]; then
- rm -f "$targettemp/etc/$context/run"
+ rm -rf "$targettemp/etc/$context/run"
ln -s "/dev/shm/$context" "$targettemp/etc/$context/run"
fi
done