[Main]
Type = oneshot
Description = "Run rc.local script"
Depends = (
    mount-rw
    local-iptables
    local-ip6tables
    local-nftables
    local-ebtables
    local-arptables
    local-loop
    local-time
    local-authfiles
    local-tmpfiles )

[Execute]
StdOut = 66log:%%livedir%%/log/local-rc

[Start]
Execute =
(
    if { 66-yeller -cdp local-rc -1 /dev/console launch rc.local script }
    if -nt {

        ${ScriptFile}

    }
    66-yeller -fcdp local-rc -1 /dev/console crashed!
)

[Environment]
ScriptFile=!%%skeldir%%/rc.local

