a guest Mar 24th, 2019 68 in 3 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- root@freifunk525400858269:/# lua
- Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio (double int32)
- > local uci = require "uci"
- > x = uci.cursor()
- > print(x:get("tunneldigger", "mesh_vpn", "enabled"))
- > print(x:get_bool("tunneldigger", "mesh_vpn", "enabled"))
- stdin:1: attempt to call method 'get_bool' (a nil value)
- stack traceback:
- stdin:1: in main chunk
- [C]: ?
RAW Paste Data