From 87be0942b20e567a49c5f011cc66a8febae0ff1e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sat, 16 Nov 2013 17:54:00 +0100 Subject: [rootfs-stage31] Fix root password substitution in init --- remote/rootfs/rootfs-stage31/data/init | 2 +- remote/targets/stage32/debug | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 120000 remote/targets/stage32/debug (limited to 'remote') diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init index 1dd0c108..fc6e3391 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -98,7 +98,7 @@ tar -cp "/bin" "/sbin" "/usr/bin" "/usr/sbin" "/etc/functions.inc" | tar -xp -C # set the SLX_ROOT_PASS if given in config if [ ! -z "$SLX_ROOT_PASS" ]; then - sed -i "s/^root:[^:]*:/root:$SLX_ROOT_PASS:/" "${FUTURE_ROOT}/etc/shadow" + sed -i "s#^root:[^:]*:#root:$SLX_ROOT_PASS:#" "${FUTURE_ROOT}/etc/shadow" fi # one last debug shell if activated diff --git a/remote/targets/stage32/debug b/remote/targets/stage32/debug deleted file mode 120000 index c05237d6..00000000 --- a/remote/targets/stage32/debug +++ /dev/null @@ -1 +0,0 @@ -../../modules/debug \ No newline at end of file -- cgit v1.2.3-55-g7522