14 lines
331 B
Plaintext
14 lines
331 B
Plaintext
|
#!/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
|