Last active
July 25, 2016 13:25
-
-
Save hmoenck/bc4a180f940b15be60e3a6ee62b9c696 to your computer and use it in GitHub Desktop.
Startup script for Acquisition machines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Startup script for Acquisition machines. | |
#Increase USB memory cap | |
sudo bash -c 'sudo echo 1000 > /sys/module/usbcore/parameters/usbfs_memory_mb' | |
#Mount NTFS device | |
sudo mount -t ntfs-3g -o mount,rw,umask=0000,uid=1000,gid=1000 /dev/sdxy /media/my/folder/ | |
#ssh mount foreign folder. Don't forget to set allow_other! | |
sshfs -o IdentityFile=/home/myuser/.ssh/id_rsa,allow_other myuser@host:/mnt/my/folder /mnt/my/folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment