Skip to content

Instantly share code, notes, and snippets.

View gashalot's full-sized avatar

Robert Gash gashalot

View GitHub Profile
@gashalot
gashalot / failover.lua
Created April 6, 2025 01:10
Simplified OpenWRT Failover Script
#!/usr/bin/env lua
-- Simplified, default route-swapping failover script
-- OpenWRT Requirements: lua, httping, lua-cjson
--
-- Copyright 2005 Robert Gash
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code must retain the above copyright notice,

Keybase proof

I hereby claim:

  • I am gashalot on github.
  • I am gashalot (https://keybase.io/gashalot) on keybase.
  • I have a public key ASC-GO3WE5vLZwZLAFXyihFIvN8QhhWnc6vWKSucQQKm1go

To claim this, I am signing this object: