Advertisement
s243a

wait_for_usb() LN# 793-800

Apr 24th, 2018
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. # LN# 793-800 of /initrd/init (tahrpup) - https://www.pearltrees.com/s243a/initrd-init/id19535893/item224276025
  2. # LN# 853-860 of https://github.com/puppylinux-woof-CE/woof-CE/blob/c96d661c2232caef1d69c693de673fb0e54796f8/initrd-progs/0initrd/init#L853 (13 Mar 2018)
  3. wait_for_usb() {
  4.  [ -e /tmp/flag-usb-ready ] && return
  5.  echo -n "${L_WAITING_FOR_USB}" > /dev/console
  6.  /sbin/wait4usb
  7.  get_part_info
  8.  BLKIDOUT=""
  9.  check_status 0
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement