105 lines
3.3 KiB
Bash
105 lines
3.3 KiB
Bash
#!/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 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
|
|
}
|
|
|
|
function umntseldon() {
|
|
usmount /mnt/238/seldon/opt
|
|
usmount /mnt/238/seldon/root
|
|
usmount /mnt/238/seldon/etc
|
|
usmount /mnt/238/seldon/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
|
|
smount root@trantor.kebler.net:/backup /mnt/238/trantor/backup -p 22
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
function mntgeoff() {
|
|
smount sysadmin@geoff.net:/home/sysadmin /mnt/geoff/sysadmin -p 22
|
|
smount geoff@geoff.net:/home/geoff /mnt/geoff/geoff -p 22
|
|
smount root@geoff.net:/ /mnt/geoff/root -p 22
|
|
smount sysadmin@geoff.net:/opt /mnt/geoff/opt -p 22
|
|
smount sysadmin@geoff.net:/data /mnt/geoff/data -p 22
|
|
}
|
|
|
|
function umntgeoff() {
|
|
usmount /mnt/geoff/data
|
|
usmount /mnt/geoff/opt
|
|
usmount /mnt/geoff/root
|
|
usmount /mnt/geoff/geoff
|
|
usmount /mnt/geoff/sysadmin
|
|
}
|