########################################################################################## VEHPI-26: OnConnect Scripts ########################################################################################## Issue Type: New Feature ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Won't Fix (2019-09-09 16:24:39) Project: VehManPi (VEHPI) Reported By: btasker Assigned To: btasker Components: - Connectivity Targeted for fix in version: - 1.0 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== To allow easy customisation, there should be six scripts that can be executed when connectivity is established - onWifiConnect - on3GConnect - onConnect - onWifiDisConnect - on3GDisConnect - onDisConnect Realistically, it makes sense to have three scripts, but have an argument passed to them to signal connect/disconnect. On(Dis)Connect should be called by the 3G/Wifi scripts at it'll apply to any type of connection. Example Use Case: To make testing/management easier, I plan to have the script automatically open a reverse SSH tunnel to one of my servers. That way I can SSH to that server and then come back down the tunnel to perform checks/monitoring on the Pi whilst in the testing stages ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2013-12-24 10:58:02 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'In Progress' ----------------------------------------------------------------------------------------- 2019-09-09 16:24:39 btasker ----------------------------------------------------------------------------------------- Bulk Close. Realistically, project isn't going to see any further development so closing as Won't Fix ----------------------------------------------------------------------------------------- 2019-09-09 16:24:39 ----------------------------------------------------------------------------------------- btasker changed status from 'In Progress' to 'Closed' ----------------------------------------------------------------------------------------- 2019-09-09 16:24:39 ----------------------------------------------------------------------------------------- btasker added 'Won't Fix' to resolution