asdf
This commit is contained in:
parent
255040e009
commit
05a8035f70
@ -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
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user