rd.ccw:: rd.znet
-rdinitdebug rdnetdebug:: rd.debug
-
rd_NO_DM:: rd.dm=0
rdblacklist:: rd.driver.blacklist
rdloaddriver:: rd.driver.pre
-rdinfo:: rd.info
-
check:: rd.live.check
rdlivedebug:: rd.live.debug
iscsi_firmware:: rd.iscsi.firmware=0
-rd_retry:: rd.retry
-
-rdshell:: rd.shell
-
rdudevdebug:: rd.udev.udev_log=debug
rdudevinfo:: rd.udev.udev_log=info
echo rd.neednet >> /etc/cmdline.d/connman.conf
fi
-if getargbool 0 rd.debug -d -y rdinitdebug -d -y rdnetdebug; then
+if getargbool 0 rd.debug; then
if [ -n "$DRACUT_SYSTEMD" ]; then
# Enable tty output if a usable console is found
# shellcheck disable=SC2217
echo rd.neednet >> /etc/cmdline.d/35-neednet.conf
fi
-if getargbool 0 rd.debug -d -y rdinitdebug -d -y rdnetdebug; then
+if getargbool 0 rd.debug; then
# shellcheck disable=SC2174
mkdir -m 0755 -p /run/NetworkManager/conf.d
(
export _rdshell_name="dracut" action="Boot" hook="emergency"
_emergency_action=$(getarg rd.emergency)
-if getargbool 1 rd.shell -d -y rdshell || getarg rd.break; then
+if getargbool 1 rd.shell || getarg rd.break; then
FSTXT="/run/dracut/fsck/fsck_help_$fstype.txt"
RDSOSREPORT="$(rdsosreport)"
source_hook "$hook"
make_trace_mem "hook initqueue" '1:shortmem' '2+:mem' '3+:slab'
getargs 'rd.break=initqueue' && emergency_shell -n initqueue "Break before initqueue"
-RDRETRY=$(getarg rd.retry -d 'rd_retry=')
+RDRETRY=$(getarg rd.retry)
RDRETRY=${RDRETRY:-180}
RDRETRY=$((RDRETRY * 2))
export RDRETRY
if [ -z "$RD_DEBUG" ]; then
if [ -e /proc/cmdline ]; then
RD_DEBUG=no
- if getargbool 0 rd.debug -d -y rdinitdebug -d -y rdnetdebug; then
+ if getargbool 0 rd.debug; then
RD_DEBUG=yes
[ -n "$BASH" ] \
&& export PS4='${BASH_SOURCE}@${LINENO}(${FUNCNAME[0]-}): '
check_quiet() {
if [ -z "$DRACUT_QUIET" ]; then
DRACUT_QUIET="yes"
- getargbool 0 rd.info -d -y rdinfo && DRACUT_QUIET="no"
- getargbool 0 rd.debug -d -y rdinitdebug && DRACUT_QUIET="no"
+ getargbool 0 rd.info && DRACUT_QUIET="no"
+ getargbool 0 rd.debug && DRACUT_QUIET="no"
getarg quiet || DRACUT_QUIET="yes"
a=$(getarg loglevel=)
[ -n "$a" ] && [ "$a" -ge 28 ] && DRACUT_QUIET="yes"
/sbin/rdsosreport
echo 'You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot'
echo 'after mounting them and attach it to a bug report.'
- if ! RD_DEBUG='' getargbool 0 rd.debug -d -y rdinitdebug -d -y rdnetdebug; then
+ if ! RD_DEBUG='' getargbool 0 rd.debug -d -y rdnetdebug; then
echo
echo 'To get more debug information in the report,'
echo 'reboot with "rd.debug" added to the kernel command line.'
&& [ -e /run/initramfs/.die ] \
&& _emergency_action=poweroff
- if getargbool 1 rd.shell -d -y rdshell || getarg rd.break; then
+ if getargbool 1 rd.shell || getarg rd.break; then
_emergency_shell "$_rdshell_name"
else
source_hook "$hook"
make_trace_mem "hook initqueue" '1:shortmem' '2+:mem' '3+:slab'
getargs 'rd.break=initqueue' && emergency_shell -n initqueue "Break before initqueue"
-RDRETRY=$(getarg rd.retry -d 'rd_retry=')
+RDRETRY=$(getarg rd.retry)
RDRETRY=${RDRETRY:-180}
RDRETRY=$((RDRETRY * 2))
export RDRETRY
getcmdline() {
echo "rd.break=cmdline rd.lvm rd.auto=0 rd.auto rd.retry=10"
}
- RDRETRY=$(getarg rd.retry -d 'rd_retry=')
+ RDRETRY=$(getarg rd.retry)
[[ $RDRETRY == "10" ]] || ret=$((ret + 1))
getarg rd.break=cmdline || ret=$((ret + 1))
getargbool 1 rd.lvm || ret=$((ret + 1))