applications/luci-olsr: Fix mistake in getting olsrd version
authorManuel Munz <freifunk@somakoma.de>
Fri, 14 Jan 2011 23:12:41 +0000 (23:12 +0000)
committerManuel Munz <freifunk@somakoma.de>
Fri, 14 Jan 2011 23:12:41 +0000 (23:12 +0000)
applications/luci-olsr/luasrc/view/status-olsr/overview.htm

index 673938c5702d8dd6e6f49532d21993f71dd6b643..952dd28cc73ea84217ba6b707cc48a55825b898a 100644 (file)
@@ -17,7 +17,7 @@ local utl = require "luci.util"
 local fs = require "luci.fs"
  
 function get_version()
-        local data = utl.split((utl.trim(sys.exec("/rom/usr/sbin/olsrd -v"))))
+        local data = utl.split((utl.trim(sys.exec("/usr/sbin/olsrd -v"))))
         local buildfull = utl.trim(utl.split(data[2],": ")[2])
         local ver = {
                 version = utl.trim(utl.split(data[1]," - ")[2]),