76 lines
2.2 KiB
Plaintext
76 lines
2.2 KiB
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
function mnt238gate(){
|
||
|
smount sysadmin@gateway.238.kebler.net:/home/sysadmin /mnt/238/gate/sysadmin -p 22
|
||
|
smount sysadmin@gateway.238.kebler.net:/opt /mnt/238/gate/opt -p 22
|
||
|
smount root@gateway.238.kebler.net:/ /mnt/238/gate/root -p 22
|
||
|
smount root@gateway.238.kebler.net:/etc /mnt/238/gate/etc -p 22
|
||
|
}
|
||
|
|
||
|
|
||
|
function wmnt238gate(){
|
||
|
smount sysadmin@238.kebler.net:/home/sysadmin /mnt/238/gate/sysadmin -p 22
|
||
|
smount sysadmin@238.kebler.net:/opt /mnt/238/gate/opt -p 22
|
||
|
smount root@238.kebler.net:/ /mnt/238/gate/root -p 22
|
||
|
smount root@238.kebler.net:/etc /mnt/238/gate/etc -p 22
|
||
|
}
|
||
|
|
||
|
function umnt238gate(){
|
||
|
usmount /mnt/238/gate/opt
|
||
|
usmount /mnt/238/gate/root
|
||
|
usmount /mnt/238/gate/etc
|
||
|
usmount /mnt/238/gate/sysadmin
|
||
|
}
|
||
|
|
||
|
|
||
|
function mnt238nas(){
|
||
|
smount sysadmin@nas.238.kebler.net:/opt /mnt/238/nas/opt -p 22
|
||
|
smount sysadmin@nas.238.kebler.net:/mnt/data /mnt/238/nas/data -p 22
|
||
|
smount sysadmin@nas.238.kebler.net:/mnt/datamirror /mnt/238/nas/datamirror -p 22
|
||
|
smount sysadmin@nas.kebler.net:/home/sysadmin /mnt/238/nas/sysadmin -p 22
|
||
|
smount root@nas.238.kebler.net:/ /mnt/238/nas/root -p 22
|
||
|
}
|
||
|
|
||
|
|
||
|
function umnt238nas(){
|
||
|
usmount /mnt/238/nas/opt
|
||
|
usmount /mnt/238/nas/data
|
||
|
usmount /mnt/238/nas/datamirror
|
||
|
usmount /mnt/238/nas/sysadmin
|
||
|
usmount /mnt/238/nas/root
|
||
|
}
|
||
|
|
||
|
function mnttrantor(){
|
||
|
smount sysadmin@trantor.kebler.net:/home/sysadmin /mnt/238/trantor/sysadmin -p 22
|
||
|
smount sysadmin@trantor.kebler.net:/opt /mnt/238/trantor/opt -p 22
|
||
|
smount sysadmin@trantor.kebler.net:/mnt/data /mnt/238/trantor/data -p 22
|
||
|
smount root@trantor.kebler.net:/ /mnt/238/trantor/root -p 22
|
||
|
}
|
||
|
|
||
|
function umnttrantor(){
|
||
|
usmount /mnt/238/trantor/opt
|
||
|
usmount /mnt/238/trantor/root
|
||
|
usmount /mnt/238/trantor/data
|
||
|
usmount /mnt/238/trantor/sysadmin
|
||
|
}
|
||
|
|
||
|
function mntwater(){
|
||
|
smount sysadmin@water.kebler.net:/home/sysadmin /mnt/238/water/home -p 22
|
||
|
smount sysadmin@water.kebler.net:/opt /mnt/238/water/opt -p 22
|
||
|
smount root@water.kebler.net:/ /mnt/238/water/root -p 22
|
||
|
}
|
||
|
|
||
|
function umntwater(){
|
||
|
usmount /mnt/238/water/opt
|
||
|
usmount /mnt/238/water/root
|
||
|
usmount /mnt/238/water/home
|
||
|
}
|
||
|
|
||
|
function mnt238hass(){
|
||
|
smount root@hassio.238.kebler.net:/ /mnt/238/hass -p 22 -o allow_other
|
||
|
}
|
||
|
|
||
|
function umnt238hass(){
|
||
|
usmount /mnt/238/hass
|
||
|
}
|