Advertisement
s243a

/initrd/init/fatal_error() LN# 809-816 (tahrpup)

Apr 24th, 2018
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.49 KB | None | 0 0
  1. # LN# 809-816 of /initrd/init (tahrpup) - https://www.pearltrees.com/s243a/initrd-init/id19535893/item224276479
  2. # LN# 869-876 of https://github.com/puppylinux-woof-CE/woof-CE/blob/c96d661c2232caef1d69c693de673fb0e54796f8/initrd-progs/0initrd/init#L869 (13 Mar 2018)
  3. fatal_error() {
  4. # "$1" - message - ex: puppy_tahr_6.0.5.sfs not found
  5. # "$2" - pre-status-message - ex: Finding puppy
  6.  KEEPMOUNTED=""
  7.  umount_unneeded
  8.  [ "${2}" ] && echo -n "${2}" > /dev/console
  9.  check_status -critical 1 "$1"
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement