diff options
| author | Simon Rettberg | 2013-11-16 17:54:00 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2013-11-16 17:54:00 +0100 |
| commit | 87be0942b20e567a49c5f011cc66a8febae0ff1e (patch) | |
| tree | 57d0fc028c0fd6e017ede86100b2bcc7a45b8f8a /remote/rootfs | |
| parent | [rootfs-stage32] enable zram swap (diff) | |
| download | tm-scripts-87be0942b20e567a49c5f011cc66a8febae0ff1e.tar.gz tm-scripts-87be0942b20e567a49c5f011cc66a8febae0ff1e.tar.xz tm-scripts-87be0942b20e567a49c5f011cc66a8febae0ff1e.zip | |
[rootfs-stage31] Fix root password substitution in init
Diffstat (limited to 'remote/rootfs')
| -rwxr-xr-x | remote/rootfs/rootfs-stage31/data/init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
