2020-11-13 10:02:20 -08:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
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
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
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
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
function umnt238gate() {
|
|
|
|
usmount /mnt/238/gate/opt
|
|
|
|
usmount /mnt/238/gate/root
|
|
|
|
usmount /mnt/238/gate/etc
|
|
|
|
usmount /mnt/238/gate/sysadmin
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
function mntseldon() {
|
|
|
|
smount sysadmin@seldon.kebler.net:/home/sysadmin /mnt/238/seldon/sysadmin -p 22
|
|
|
|
smount sysadmin@seldon.kebler.net:/opt /mnt/238/seldon/opt -p 22
|
|
|
|
smount root@seldon.kebler.net:/ /mnt/238/seldon/root -p 22
|
|
|
|
smount root@seldon.kebler.net:/etc /mnt/238/seldon/etc -p 22
|
2021-02-18 08:32:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
function umntseldon() {
|
|
|
|
usmount /mnt/238/seldon/opt
|
|
|
|
usmount /mnt/238/seldon/root
|
|
|
|
usmount /mnt/238/seldon/etc
|
|
|
|
usmount /mnt/238/seldon/sysadmin
|
2021-02-18 08:32:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
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
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
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
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
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
|
|
|
|
smount sysadmin@trantor.kebler.net:/backup /mnt/238/trantor/backup -p 22
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
function umnttrantor() {
|
|
|
|
usmount /mnt/238/trantor/opt
|
|
|
|
usmount /mnt/238/trantor/root
|
|
|
|
usmount /mnt/238/trantor/data
|
|
|
|
usmount /mnt/238/trantor/sysadmin
|
|
|
|
usmount /mnt/238/trantor/backup
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
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
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
function umntwater() {
|
|
|
|
usmount /mnt/238/water/opt
|
|
|
|
usmount /mnt/238/water/root
|
|
|
|
usmount /mnt/238/water/home
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
function mnt238hass() {
|
|
|
|
smount root@hassio.238.kebler.net:/ /mnt/238/hass -p 22 -o allow_other
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|
|
|
|
|
2021-07-04 17:17:32 -07:00
|
|
|
function umnt238hass() {
|
|
|
|
usmount /mnt/238/hass
|
2020-11-13 10:02:20 -08:00
|
|
|
}
|