function process(register)
register.sometext = "Test"
- if not register.retreived then
- print("Step down to retreive")
- return "retreive"
+ if not register.retrieved then
+ print("Step down to retrieve")
+ return "retrieve"
else
print("Coming up again")
end
+++ /dev/null
-module("luci.lpk.core.retreive", package.seeall)
-
-function process(register)
- print "Now in retreive"
- print (register.sometext)
- register.retreived = true
-end
\ No newline at end of file
--- /dev/null
+module("luci.lpk.core.retrieve", package.seeall)
+
+function process(register)
+ print "Now in retrieve"
+ print (register.sometext)
+ register.retrieved = true
+end
\ No newline at end of file