diff --git a/cmd/start.go b/cmd/start.go index aed365f..f0b9939 100644 --- a/cmd/start.go +++ b/cmd/start.go @@ -1401,6 +1401,16 @@ func StartJail(args []string) { } } + if cj.Config.Rtsold > 0 || strings.EqualFold(cj.Config.Ip6_addr, "accept_rtadv") { + fmt.Printf(" > Start rtsold:\n") + cmd := fmt.Sprintf("/usr/sbin/setfib %s /usr/sbin/jexec %d service rtsold start", cj.Config.Exec_fib, cj.JID) + out, err := executeCommand(cmd) + if err != nil && len(out) > 0 { + fmt.Printf("Error: %v: %s\n", err, out) + } else { + fmt.Printf(" > Start rtsold: OK\n") + } + } // TODO: Execute Exec_poststart if len(cj.Config.Exec_poststart) > 0 {