From 07f5edfeeba4de8f4603b85dee52d05891f64ff2 Mon Sep 17 00:00:00 2001 From: Darren Kitchen Date: Wed, 2 Oct 2019 13:30:16 -0700 Subject: [PATCH] Fixed bug in autossh module uci now sets enabled=1 in autossh config --- modules/autossh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/autossh b/modules/autossh index d7dbb63..6322676 100755 --- a/modules/autossh +++ b/modules/autossh @@ -65,6 +65,7 @@ Local Port: Local port to bind tunnel (Default 22)\n \n" 16 60 4\ read -r autossh_localport touch /etc/config/autossh uci set autossh.@autossh[0].ssh="-i /root/.ssh/id_rsa -N -T -R "$autossh_remoteport":localhost:"$autossh_localport" "$autossh_host" -p "$autossh_port"" + uci set autossh.@autossh[0].enabled="1" uci commit autossh rm $CONF };;