This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues/pull-requests.
bash-shell-network/645.kebler.net/function/ssh-mounts/00-mount-645.sh

30 lines
452 B
Bash
Raw Normal View History

#!/bin/bash
module_load sshfs
module_load net-utils
module_load filesystem
function ssh-mount-645 () {
echo ======== ...mounting 645 devices via vpn ========
mnt645gate
mnt645nas
mnt645hass
mntnadal
mnt645lights
mnt645relays
mnt645switches
mnt645lightsbu
}
function ssh-unmount-645 () {
echo ======== ...mounting 645 devices via vpn ========
umnt645gate
umnt645nas
umnt645hass
umntnadal
umnt645lights
umnt645relays
umnt645switches
umnt645lightsbu
}