summaryrefslogtreecommitdiff
path: root/scripts/mount-user.sh
blob: 34ca17280655211ae13561035b3cab4783a359ec (plain)
1
2
3
4
5
6
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