Advertisement
Guest User

Untitled

a guest
Dec 30th, 2021
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. #!/bin/sh
  2. cd /
  3. touch /dev/.coldboot_done
  4.  
  5. export LD_LIBRARY_PATH=
  6.  
  7. # Save systemd notify socket name to let droid-init-done.sh pick it up later
  8. echo $NOTIFY_SOCKET > /run/droid-hal/notify-socket-name
  9.  
  10. # Use exec nohup since systemd may send SIGHUP, but droid-hal-init doesn't
  11. # handle it. This avoids having to modify android_system_core, which would
  12. # require different handling for every different android version.
  13. exec nohup /sbin/droid-hal-init
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. / # touch /dev/.coldboot_done
  36. / # echo $NOTIFY_SOCKET > /run/droid-hal/notify-socket-name
  37. / # exec nohup /sbin/droid-hal-init
  38. nohup: appending output to nohup.out
  39. Connection closed by foreign host.
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement