summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--listener.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/listener.lua b/listener.lua
index 4f14a37..e69205e 100644
--- a/listener.lua
+++ b/listener.lua
@@ -18,6 +18,11 @@ end
function ops.test()
print("hello world")
end
+function ops.upgrade()
+ pm.cc()
+ pm.dl("listener")
+ os.reboot()
+end
function main()
print("listening")