summaryrefslogtreecommitdiffstats
path: root/source/installer/sources
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-01-03 20:25:45 +0000
committer Eric Hameleers <alien@slackware.com>2024-01-03 22:00:24 +0100
commite2f5262f1f9e279bfb0ace9caf913ac1021064f9 (patch)
tree138d8a02a74cd85cc26af28b49c4a1d967b11c53 /source/installer/sources
parent4c234135eea81183ecccd37c3281a746954c443d (diff)
downloadcurrent-e2f5262f1f9e279bfb0ace9caf913ac1021064f9.tar.gz
current-e2f5262f1f9e279bfb0ace9caf913ac1021064f9.tar.xz
Wed Jan 3 20:25:45 UTC 202420240103202545
ap/vim-9.1.0-x86_64-1.txz: Upgraded. d/clisp-2.50_20230718_669249717-x86_64-1.txz: Upgraded. l/poppler-24.01.0-x86_64-1.txz: Upgraded. n/c-ares-1.25.0-x86_64-1.txz: Upgraded. n/mobile-broadband-provider-info-20231023-x86_64-1.txz: Upgraded. n/ncftp-3.2.7-x86_64-1.txz: Upgraded. xap/vim-gvim-9.1.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/installer/sources')
-rwxr-xr-xsource/installer/sources/initrd/etc/rc.d/rc.S4
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: