Skip to content

Commit 238249e

Browse files
committed
minor
1 parent 9de54a2 commit 238249e

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

usr/libexec/helper-scripts/live-mode.sh

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ fi
1717
## Detect if the system was booted in live mode
1818
## Check for 'rd.live.image' first, because both, ISO and grub-live come with 'boot=live' kernel parameter.
1919
if printf "%s" "${proc_cmdline_output}" | grep --quiet --fixed-strings -e 'root=live' -e 'rd.live.image'; then
20-
live_status_detected_live_mode_environment_pretty="ISO Live"
21-
live_status_detected_live_mode_environment_machine="iso-live"
22-
live_status_word_pretty="ISO"
23-
live_status_detected="true"
24-
live_status_maybe_iso_live_message="<br/><u>This message can be safely ignored if only using this ISO to install to the hard drive.</u><br/>"
20+
live_status_detected_live_mode_environment_pretty="ISO Live"
21+
live_status_detected_live_mode_environment_machine="iso-live"
22+
live_status_word_pretty="ISO"
23+
live_status_detected="true"
24+
live_status_maybe_iso_live_message="<br/><u>This message can be safely ignored if only using this ISO to install to the hard drive.</u><br/>"
2525
elif printf "%s" "${proc_cmdline_output}" | grep --quiet --fixed-strings -e 'boot=live' -e 'rootovl' -e 'rd.live.overlay.overlayfs=1' ; then
26-
live_status_detected_live_mode_environment_pretty="grub-live"
27-
live_status_detected_live_mode_environment_machine="grub-live"
28-
live_status_word_pretty="Live"
29-
live_status_detected="true"
30-
live_status_maybe_iso_live_message=""
26+
live_status_detected_live_mode_environment_pretty="grub-live"
27+
live_status_detected_live_mode_environment_machine="grub-live"
28+
live_status_word_pretty="Live"
29+
live_status_detected="true"
30+
live_status_maybe_iso_live_message=""
3131
else
32-
live_status_detected_live_mode_environment_pretty="false"
33-
live_status_detected_live_mode_environment_machine="false"
34-
live_status_word_pretty="persistent"
35-
live_status_detected="false"
36-
live_status_maybe_iso_live_message=""
32+
live_status_detected_live_mode_environment_pretty="false"
33+
live_status_detected_live_mode_environment_machine="false"
34+
live_status_word_pretty="persistent"
35+
live_status_detected="false"
36+
live_status_maybe_iso_live_message=""
3737
fi
3838

3939
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then

0 commit comments

Comments
 (0)