Searched refs:shell_escape (Results 1 – 4 of 4) sorted by relevance
87 local function shell_escape(s) function190 f:write("hostname=" .. shell_escape(hostname) .. "\n")325 local f = io.popen(cmd .. " usershow " .. shell_escape(pwd.name) .. " -7 2> /dev/null")348 table.insert(escaped_list, shell_escape(g))356 extraargs = extraargs .. " -g " .. shell_escape(pwd.primary_group)377 cmd = cmd .. "useradd -n " .. shell_escape(pwd.name) .. " -M 0755 -w none "378 cmd = cmd .. extraargs .. " -c " .. shell_escape(pwd.gecos)379 cmd = cmd .. " -d " .. shell_escape(pwd.homedir) .. " -s " .. shell_escape(pwd.shell) .. postcmd396 cmd = cmd .. "lock " .. shell_escape(pwd.name)412 local f = io.popen(cmd .. " groupshow " .. shell_escape(grp.name) .. " 2> /dev/null")[all …]
244 …resolvconf_conf_handler:write("search_domains=" .. nuage.shell_escape(table.concat(obj.search, " "…248 …resolvconf_conf_handler:write("name_servers=" .. nuage.shell_escape(table.concat(obj.addresses, " …265 resolvconf_command = "resolvconf -a " .. nuage.shell_escape(interface) .. " < " .. resolv_conf436 … network:write("ifconfig_" .. interface .. "_name=" .. nuage.shell_escape(v["set-name"]) .. "\n")442 … network:write("ifconfig_" .. interface .. "=" .. nuage.shell_escape("DHCP" .. extra_opts) .. "\n")446 …network:write("ifconfig_" .. interface .. "=" .. nuage.shell_escape("inet " .. a .. extra_opts) ..…448 …network:write("ifconfig_" .. interface .. "_ipv6=" .. nuage.shell_escape("inet6 " .. a .. extra_op…458 routing:write("defaultrouter=" .. nuage.shell_escape(v.gateway4) .. "\n")463 routing:write("ipv6_defaultrouter=" .. nuage.shell_escape(v.gateway6) .. "\n")465 …routing:write("ipv6_route_" .. interface .. "=" .. nuage.shell_escape(v.gateway6 .. " -prefixlen 1…[all …]
23 local expected_content = "hostname=" .. n.shell_escape(expected) .. "\n"
539 shell_escape() function