- #!/sbin/openrc-run
- description="Mounts appropriate directory to monitor APU"
- depend() {
- # (Dependency information)
- }
- start() {
- ebegin "Mounting /sys/ directory"
- mount --rbind /sys/kernel/debug/dri/0/ /home/zakhar/SCRIPTS/apu
- }
- stop() {
- ebegin "Unmounting /sys/ directory"
- umount /home/zakhar/SCRIPTS/apu
- }