Removed commit history
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
commit
b5b33afcd7
199 changed files with 36930 additions and 0 deletions
6
root/etc/NetworkManager/dispatcher.d/10-tzupdate.sh
Executable file
6
root/etc/NetworkManager/dispatcher.d/10-tzupdate.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
status=$2
|
||||
case $status in
|
||||
up)
|
||||
/usr/bin/tzupdate
|
||||
esac
|
8
root/etc/NetworkManager/dispatcher.d/11-ssh-tunnel.sh
Executable file
8
root/etc/NetworkManager/dispatcher.d/11-ssh-tunnel.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
if [[ "$2" == "up" ]] || [ "$2" == "vpn-up"]]; then
|
||||
su - reekymarko -c 'ssh -f -N -R 8123:localhost:22 teapot sleep 10'
|
||||
fi
|
||||
|
||||
if [[ "$2" == "down" ]] || [ "$2" == "vpn-up"]];then
|
||||
killall ssh
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue