1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/sbin/openrc-run description="Mount /Volumes and /Users." depend() { need dbus } start() { /usr/sbin/volumesfs -o allow_other /Volumes /usr/sbin/usersfs -o allow_other /Users } stop() { fusermount -u /Volumes || true fusermount -u /Users || true }