From fdeb27487c4c2d462093438a752ab4f3fcd9ebb5 Mon Sep 17 00:00:00 2001 From: jonas Date: Sat, 10 Jun 2006 20:14:41 +0000 Subject: 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 --- 1_makerootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3