.files/dotfiles/bin/mount_c3voc

10 lines
254 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
if [[ $UID -ne 0 ]]; then
echo "You have to run this script as root!"
exit 1
fi
mount.cifs //storage.lan.c3voc.de/fuse /video/fuse -o rw,guest -o uid=phg
mount.cifs //storage.lan.c3voc.de/video /video/video -o rw,guest -o uid=phg