diff options
Diffstat (limited to 'scripts/mount-user.sh')
-rw-r--r-- | scripts/mount-user.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/mount-user.sh b/scripts/mount-user.sh new file mode 100644 index 0000000..34ca172 --- /dev/null +++ b/scripts/mount-user.sh @@ -0,0 +1,7 @@ +#!/bin/sh +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +USER_DISK=`ls /dev/disk/by-partlabel/ | grep -i user` +USER_MNT=/opt/usr + +/usr/bin/mount PARTLABEL=$USER_DISK $USER_MNT |