Deleted Added
full compact
routing (57459) routing (57567)
1#!/bin/sh -
2#
1#!/bin/sh -
2#
3# $FreeBSD: head/etc/rc.d/routing 57459 2000-02-24 23:12:04Z markm $
3# $FreeBSD: head/etc/rc.d/routing 57567 2000-02-28 19:21:05Z jkh $
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all of the user-configurable behavior is no longer in
7# this file, but rather in /etc/defaults/rc.conf. Please check that file
8# first before contemplating any changes here. If you do need to change
9# this file for some reason, we would like to know about it.
10
11# First pass startup stuff.

--- 588 unchanged lines hidden (view full) ---

600 fi
601 echo -n ' pppoed';
602 /usr/libexec/pppoed ${pppoed_flags} ${pppoed_interface}
603 ;;
604 esac
605
606 case ${sshd_enable} in
607 [Yy][Ee][Ss])
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all of the user-configurable behavior is no longer in
7# this file, but rather in /etc/defaults/rc.conf. Please check that file
8# first before contemplating any changes here. If you do need to change
9# this file for some reason, we would like to know about it.
10
11# First pass startup stuff.

--- 588 unchanged lines hidden (view full) ---

600 fi
601 echo -n ' pppoed';
602 /usr/libexec/pppoed ${pppoed_flags} ${pppoed_interface}
603 ;;
604 esac
605
606 case ${sshd_enable} in
607 [Yy][Ee][Ss])
608 echo -n ' sshd';
608 if [ ! -f /etc/ssh/ssh_host_key ]; then
609 echo creating ssh host key
610 /usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key
611 echo now starting sshd
612 else
613 echo -n ' sshd';
614 fi
609 ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
610 ;;
611 esac
612
613 echo '.'
614 network_pass3_done=YES
615}
616

--- 15 unchanged lines hidden ---
615 ${sshd_program:-/usr/sbin/sshd} ${sshd_flags}
616 ;;
617 esac
618
619 echo '.'
620 network_pass3_done=YES
621}
622

--- 15 unchanged lines hidden ---