14 lines
331 B
Bash
Executable File
14 lines
331 B
Bash
Executable File
#!/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
|