Submit
Path:
~
/
/
usr
/
lib
/
dracut
/
modules.d
/
98dracut-systemd
/
File Content:
dracut-emergency.sh
#!/bin/sh export DRACUT_SYSTEMD=1 if [ -f /dracut-state.sh ]; then . /dracut-state.sh 2>/dev/null fi type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh source_conf /etc/conf.d type plymouth >/dev/null 2>&1 && plymouth quit export _rdshell_name="dracut" action="Boot" hook="emergency" _emergency_action=$(getarg rd.emergency) if getargbool 1 rd.shell -d -y rdshell || getarg rd.break -d rdbreak; then FSTXT="/run/dracut/fsck/fsck_help_$fstype.txt" source_hook "$hook" echo rdsosreport echo echo echo 'Entering emergency mode. Exit the shell to continue.' echo 'Type "journalctl" to view system logs.' 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.' echo echo [ -f "$FSTXT" ] && cat "$FSTXT" [ -f /etc/profile ] && . /etc/profile [ -z "$PS1" ] && export PS1="$_name:\${PWD}# " exec sh -i -l else export hook="shutdown-emergency" warn "$action has failed. To debug this issue add \"rd.shell rd.debug\" to the kernel command line." source_hook "$hook" [ -z "$_emergency_action" ] && _emergency_action=halt fi /bin/rm -f -- /.console_lock case "$_emergency_action" in reboot) reboot || exit 1;; poweroff) poweroff || exit 1;; halt) halt || exit 1;; esac exit 0
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
dracut-cmdline-ask.service
847 bytes
0644
dracut-cmdline-ask.sh
418 bytes
0755
dracut-cmdline.service
904 bytes
0644
dracut-cmdline.service.8
1555 bytes
0644
dracut-cmdline.service.8.asc
442 bytes
0644
dracut-cmdline.sh
2651 bytes
0755
dracut-emergency.service
681 bytes
0644
dracut-emergency.sh
1382 bytes
0755
dracut-initqueue.service
821 bytes
0644
dracut-initqueue.service.8
1550 bytes
0644
dracut-initqueue.service.8.asc
439 bytes
0644
dracut-initqueue.sh
2147 bytes
0755
dracut-mount.service
793 bytes
0644
dracut-mount.service.8
1531 bytes
0644
dracut-mount.service.8.asc
416 bytes
0644
dracut-mount.sh
1052 bytes
0755
dracut-pre-mount.service
822 bytes
0644
dracut-pre-mount.service.8
1546 bytes
0644
dracut-pre-mount.service.8.asc
434 bytes
0644
dracut-pre-mount.sh
502 bytes
0755
dracut-pre-pivot.service
1125 bytes
0644
dracut-pre-pivot.service.8
1541 bytes
0644
dracut-pre-pivot.service.8.asc
429 bytes
0644
dracut-pre-pivot.sh
895 bytes
0755
dracut-pre-trigger.service
914 bytes
0644
dracut-pre-trigger.service.8
1550 bytes
0644
dracut-pre-trigger.service.8.asc
440 bytes
0644
dracut-pre-trigger.sh
467 bytes
0755
dracut-pre-udev.service
993 bytes
0644
dracut-pre-udev.service.8
1537 bytes
0644
dracut-pre-udev.service.8.asc
424 bytes
0644
dracut-pre-udev.sh
1413 bytes
0755
dracut-shutdown.service
459 bytes
0644
dracut-shutdown.service.8
3608 bytes
0644
dracut-shutdown.service.8.asc
1690 bytes
0644
dracut-tmpfiles.conf
135 bytes
0644
emergency.service
692 bytes
0644
module-setup.sh
2072 bytes
0755
rootfs-generator.sh
4152 bytes
0755
N4ST4R_ID | Naxtarrr