1 2 3 4 5 6 7 8 9 10 11 12 13 14
# IP forwarding toggle — enables IPv4/IPv6 packet forwarding via # routeadm/ipadm. Off by default; enable when the host acts as a # router/gateway. Replaces /lib/svc/manifest/network/forwarding.xml. [service] name = "forwarding" description = "IPv4/IPv6 packet forwarding" type = "oneshot" [exec] start = "/etc/zyginit/services/forwarding/start.sh" stop = "/etc/zyginit/services/forwarding/stop.sh" [dependencies] requires = ["network"] [restart] on = "never"