daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Mar 24th, 2019 68 in 3 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@freifunk525400858269:/# lua
  2. Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio (double int32)
  3. > local uci = require "uci"
  4. > x = uci.cursor()
  5. > print(x:get("tunneldigger", "mesh_vpn", "enabled"))
  6. 1
  7. > print(x:get_bool("tunneldigger", "mesh_vpn", "enabled"))
  8. stdin:1: attempt to call method 'get_bool' (a nil value)
  9. stack traceback:
  10.     stdin:1: in main chunk
  11.     [C]: ?
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top