41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
|
#!/bin/bash
|
||
|
function mnt238lights(){
|
||
|
smount sysadmin@lights.238.kebler.net:/home/sysadmin /mnt/238/lights/controller/sysadmin -p 22
|
||
|
smount sysadmin@lights.238.kebler.net:/opt /mnt/238/lights/controller/opt -p 22
|
||
|
smount root@lights.238.kebler.net:/ /mnt/238/lights/controller/root -p 22
|
||
|
}
|
||
|
|
||
|
function umnt238lights(){
|
||
|
usmount /mnt/238/lights/controller/opt
|
||
|
usmount /mnt/238/lights/controller/root
|
||
|
usmount /mnt/238/lights/controller/sysadmin
|
||
|
}
|
||
|
|
||
|
# via lights firewall at port 222
|
||
|
function mnt238relays(){
|
||
|
smount sysadmin@lights.238.kebler.net:/home/sysadmin /mnt/238/lights/relays/sysadmin -p 222
|
||
|
smount sysadmin@lights.238.kebler.net:/opt /mnt/238/lights/relays/opt -p 222
|
||
|
smount root@lights.238.kebler.net:/ /mnt/238/lights/relays/root -p 222
|
||
|
}
|
||
|
|
||
|
|
||
|
function umnt238relays(){
|
||
|
usmount /mnt/238/lights/relays/opt
|
||
|
usmount /mnt/238/lights/relays/root
|
||
|
usmount /mnt/238/lights/relays/sysadmin
|
||
|
}
|
||
|
|
||
|
# via lights firewall at port 122
|
||
|
function mnt238switches(){
|
||
|
smount sysadmin@lights.238.kebler.net:/home/sysadmin /mnt/238/lights/switches/sysadmin -p 122
|
||
|
smount sysadmin@lights.238.kebler.net:/opt /mnt/238/lights/switches/opt -p 122
|
||
|
smount root@lights.238.kebler.net:/ /mnt/238/lights/switches/root -p 122
|
||
|
}
|
||
|
|
||
|
|
||
|
function umntswitches(){
|
||
|
usmount /mnt/238/lights/switches/opt
|
||
|
usmount /mnt/238/lights/switches/root
|
||
|
usmount /mnt/238/lights/switches/sysadmin
|
||
|
}
|