scripts/jolla_mount

14 lines
331 B
Plaintext
Raw Permalink Normal View History

2016-10-14 09:40:07 +02:00
#!/bin/bash
localIp='192.168.1.10/24'
localBroadcast='192.168.1.255'
netAdp=$1
mountPath='/home/$USER/jolla'
user='nemo'
jollaIp='192.168.1.11'
sudo ip addr add $localIp broadcast $localBroadcast dev $netAdp
# First umount if all ready mounted
#fusermount -u $mountPath
#sleep 2
#sshfs $user@$jollaIp:/home/$user -p 22 $mountPath