#!/usr/bin/lua local s6 = require("s6lua") local path = "/etc/rc.local" local f = io.open(path, "r") if not f then os.exit(0) end f:close() s6.run_or_die(string.format("[ -x %q ] && %q", path, path))