summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-06-21 13:42:26 +0000
committerSteven Barth <steven@midlink.org>2009-06-21 13:42:26 +0000
commit30b216f774c2404a965807ddb93a4a4b2aaeac04 (patch)
tree2d4bbdadc263f495e358af0fda9baf5b02274c3b /modules/freifunk
parent2baab00b19fc6eb4e0aca4da035292e37d94a640 (diff)
Drop support for luaposix and bitlib (obsoleted by nixio)
Mark luci.fs as deprecated
Diffstat (limited to 'modules/freifunk')
-rwxr-xr-xmodules/freifunk/root/usr/sbin/ff_olsr_watchdog6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/freifunk/root/usr/sbin/ff_olsr_watchdog b/modules/freifunk/root/usr/sbin/ff_olsr_watchdog
index 3e5258d9b..aa8de6162 100755
--- a/modules/freifunk/root/usr/sbin/ff_olsr_watchdog
+++ b/modules/freifunk/root/usr/sbin/ff_olsr_watchdog
@@ -3,9 +3,9 @@
require "os"
require "io"
require "uci"
-require "posix"
+local fs = require "nixio.fs"
-if posix.access("/var/run/olsrd.pid") then
+if fs.access("/var/run/olsrd.pid") then
local stamp, intv
local x = uci.cursor()
@@ -17,7 +17,7 @@ if posix.access("/var/run/olsrd.pid") then
end
end)
- if intv and posix.access(stamp) then
+ if intv and fs.access(stamp) then
local systime = os.time()
local wdgtime = tonumber(io.lines(stamp)())