Home
last modified time | relevance | path

Searched refs:shell_escape (Results 1 – 4 of 4) sorted by relevance

/freebsd/libexec/nuageinit/
H A Dnuageinit243 …resolvconf_conf_handler:write("search_domains=" .. nuage.shell_escape(table.concat(obj.search, " "…
247 …resolvconf_conf_handler:write("name_servers=" .. nuage.shell_escape(table.concat(obj.addresses, " …
264 resolvconf_command = "resolvconf -a " .. nuage.shell_escape(interface) .. " < " .. resolv_conf
435 … network:write("ifconfig_" .. interface .. "_name=" .. nuage.shell_escape(v["set-name"]) .. "\n")
441 … network:write("ifconfig_" .. interface .. "=" .. nuage.shell_escape("DHCP" .. extra_opts) .. "\n")
445 …network:write("ifconfig_" .. interface .. "=" .. nuage.shell_escape("inet " .. a .. extra_opts) ..…
447 …network:write("ifconfig_" .. interface .. "_ipv6=" .. nuage.shell_escape("inet6 " .. a .. extra_op…
457 routing:write("defaultrouter=" .. nuage.shell_escape(v.gateway4) .. "\n")
462 routing:write("ipv6_defaultrouter=" .. nuage.shell_escape(v.gateway6) .. "\n")
464 …routing:write("ipv6_route_" .. interface .. "=" .. nuage.shell_escape(v.gateway6 .. " -prefixlen 1…
[all …]
H A Dnuage.lua87 local function shell_escape(s) function
190 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) .. postcmd
396 cmd = cmd .. "lock " .. shell_escape(pwd.name)
412 local f = io.popen(cmd .. " groupshow " .. shell_escape(grp.name) .. " 2> /dev/null")
[all …]
/freebsd/libexec/nuageinit/tests/
H A Dsethostname.lua23 local expected_content = "hostname=" .. n.shell_escape(expected) .. "\n"
/freebsd/cddl/usr.sbin/dwatch/
H A Ddwatch539 shell_escape() function