Loading

Paste #pxbexd8oi

  1. sh-3.2# cat /usr/bin/droid/mount_overlay_system.sh
  2. #!/bin/sh
  3. mount -t overlay overlay -o lowerdir=/usr/libexec/droid-hybris/system:/system /system
  4.  
  5. [Unit]
  6. Description=Overlay /usr/libexec/droid-hal/system over /system
  7. After=system.mount
  8.  
  9. [Service]
  10. Type=oneshot
  11. RemainAfterExit=true
  12. ExecStart=/usr/bin/droid/mount_overlay_system.sh
  13.  
  14. [Install]
  15. WantedBy=localfs.target