diff options
Diffstat (limited to 'source/installer/sources/initrd/etc')
-rwxr-xr-x | source/installer/sources/initrd/etc/rc.d/rc.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/installer/sources/initrd/etc/rc.d/rc.S b/source/installer/sources/initrd/etc/rc.d/rc.S index dec350d0a..0e69d7349 100755 --- a/source/installer/sources/initrd/etc/rc.d/rc.S +++ b/source/installer/sources/initrd/etc/rc.d/rc.S @@ -20,8 +20,8 @@ fi # Note: this does not configure the OS root password. # Passwords should be set as follows within the Kernel cmdline: # instrootpw=yourpassword -if grep.bin -qoP 'instrootpw=\K\S+' /proc/cmdline ; then - /bin/echo "root:$( grep.bin -oP 'instrootpw=\K\S+' /proc/cmdline )" | /bin/busybox chpasswd +if grep -qoP 'instrootpw=\K\S+' /proc/cmdline ; then + /bin/echo "root:$( grep -oP 'instrootpw=\K\S+' /proc/cmdline )" | /bin/busybox chpasswd fi # Activate swap: |