diff options
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/netoptions | 7 | ||||
-rw-r--r-- | etc/rc.d/network1 | 7 | ||||
-rw-r--r-- | etc/rc.d/network2 | 7 | ||||
-rw-r--r-- | etc/rc.d/network3 | 7 | ||||
-rw-r--r-- | etc/rc.d/routing | 7 |
5 files changed, 35 insertions, 0 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index b42bd65..3b0771c 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -603,6 +603,13 @@ network_pass3() { ;; esac + case ${sshd_enable} in + [Yy][Ee][Ss]) + echo -n ' sshd'; + ${sshd_program:-/usr/sbin/sshd} ${sshd_flags} + ;; + esac + echo '.' network_pass3_done=YES } diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index b42bd65..3b0771c 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -603,6 +603,13 @@ network_pass3() { ;; esac + case ${sshd_enable} in + [Yy][Ee][Ss]) + echo -n ' sshd'; + ${sshd_program:-/usr/sbin/sshd} ${sshd_flags} + ;; + esac + echo '.' network_pass3_done=YES } diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index b42bd65..3b0771c 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -603,6 +603,13 @@ network_pass3() { ;; esac + case ${sshd_enable} in + [Yy][Ee][Ss]) + echo -n ' sshd'; + ${sshd_program:-/usr/sbin/sshd} ${sshd_flags} + ;; + esac + echo '.' network_pass3_done=YES } diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index b42bd65..3b0771c 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -603,6 +603,13 @@ network_pass3() { ;; esac + case ${sshd_enable} in + [Yy][Ee][Ss]) + echo -n ' sshd'; + ${sshd_program:-/usr/sbin/sshd} ${sshd_flags} + ;; + esac + echo '.' network_pass3_done=YES } diff --git a/etc/rc.d/routing b/etc/rc.d/routing index b42bd65..3b0771c 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -603,6 +603,13 @@ network_pass3() { ;; esac + case ${sshd_enable} in + [Yy][Ee][Ss]) + echo -n ' sshd'; + ${sshd_program:-/usr/sbin/sshd} ${sshd_flags} + ;; + esac + echo '.' network_pass3_done=YES } |