Alias luci.util.exec as luci.sys.exec for legacy purposes
authorSteven Barth <steven@midlink.org>
Tue, 2 Sep 2008 19:08:43 +0000 (19:08 +0000)
committerSteven Barth <steven@midlink.org>
Tue, 2 Sep 2008 19:08:43 +0000 (19:08 +0000)
libs/sys/luasrc/sys.lua

index 2f89365..a53db93 100644 (file)
@@ -41,6 +41,7 @@ local tonumber, ipairs, pairs = tonumber, ipairs, pairs
 --- LuCI Linux and POSIX system utilities.
 module "luci.sys"
 
+exec = luci.util.exec
 
 --- Invoke the luci-flash executable to write an image to the flash memory.
 -- @param image                Local path or URL to image file