summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 20:14:41 +0000
committerjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 20:14:41 +0000
commitfdeb27487c4c2d462093438a752ab4f3fcd9ebb5 (patch)
tree8db5d829fe2073ed89ccaabfe97ff94f6e7bbd99
parent96a365654612b25cc40a1175ec2ab35bb2c7dbc0 (diff)
Recursively remove existing should-be-symlink dir: resolvconf adopts config from host system.
git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/trunk@9 8f53b18a-e215-0410-8885-9f593d34873e
-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