Alias luci.util.exec as luci.sys.exec for legacy purposes
[project/luci.git] / libs / sys / luasrc / sys.lua
index 2f893650c0078fb3279c36a76062494b9b8563fb..a53db937c70e82bd1cda0b76ef28dfacee9eca00 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