Changeset 14172 in hybrid
- Timestamp:
- May 22, 2018, 8:03:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/files/tools/wl-config
r14130 r14172 11 11 12 12 check_access() { 13 if [ -n "$BASEURL" ]; then 14 # Custom URL 15 fetch -o /dev/null -q $BASEURL > /dev/null && return 16 echo "# CRIT: Fetch via custom $BASEURL failed" 17 # Do no check alternative routes, operator knows best 18 exit 1 19 fi 20 13 21 # Direct Access - External 14 22 BASEURL="http://wirelessleiden.nl/config/" … … 25 33 BASEURL="http://80.127.152.29/wleiden/config/" 26 34 fetch -o /dev/null -q $BASEURL > /dev/null && return 27 echo "# CRIT: Fetch via external $BASEURL failed" 28 35 echo "# WARN: Fetch via external $BASEURL failed" 36 37 echo "# CRIT: No more fetch options available, bailing out" 29 38 exit 1 30 39 }
Note:
See TracChangeset
for help on using the changeset viewer.