diff options
| -rwxr-xr-x | scripts/volumefs.init | 21 | 
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/volumefs.init b/scripts/volumefs.init new file mode 100755 index 0000000..dc80eed --- /dev/null +++ b/scripts/volumefs.init @@ -0,0 +1,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 +} +  | 
