All announce.d scripts have been moved to /lib/gluon/announce/announce.d The script /lib/gluon/announce/announce.lua will collect all information and output json.
2 lines
69 B
Plaintext
2 lines
69 B
Plaintext
return tonumber(fs.readfile('/proc/uptime'):match('^[^ ]+ ([^ ]+)'))
|