spacepaste

  1.  
  2. #!/sbin/openrc-run
  3. description="Mounts appropriate directory to monitor APU"
  4. depend() {
  5. # (Dependency information)
  6. }
  7. start() {
  8. ebegin "Mounting /sys/ directory"
  9. mount --rbind /sys/kernel/debug/dri/0/ /home/zakhar/SCRIPTS/apu
  10. }
  11. stop() {
  12. ebegin "Unmounting /sys/ directory"
  13. umount /home/zakhar/SCRIPTS/apu
  14. }
  15.