This commit is contained in:
Gordon Grant-Stuart 2022-12-05 21:24:17 +00:00
parent 255040e009
commit 05a8035f70
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
[tunnelkeeper] [settings]
debug 0 debug 0
[ssh] # Everything below here obeys the same rules as ~/.ssh/config [ssh]
# Everything in this section obeys the same rules as ~/.ssh/config
# Examples # Examples
# Host server1 # Host server1

View File

@ -9,7 +9,7 @@ awk -v "dir=$BASEDIR/var" '
!/^\[/ {print >> dir"/"sec".conf"}' < $BASEDIR/etc/tunnelkeeper.conf !/^\[/ {print >> dir"/"sec".conf"}' < $BASEDIR/etc/tunnelkeeper.conf
SSHCONF="$BASEDIR/var/ssh.conf" SSHCONF="$BASEDIR/var/ssh.conf"
TKCONF="$BASEDIR/var/tunnelkeeper.conf" TKCONF="$BASEDIR/var/settings.conf"
if [[ ! -f "$SSHCONF" ]]; then if [[ ! -f "$SSHCONF" ]]; then
echo "Config file \"$SSHCONF\" does not exist" echo "Config file \"$SSHCONF\" does not exist"