=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/rc,v retrieving revision 1.355 retrieving revision 1.356 diff -c -r1.355 -r1.356 *** src/etc/rc 2011/07/07 18:36:03 1.355 --- src/etc/rc 2011/07/07 18:40:00 1.356 *************** *** 1,4 **** ! # $OpenBSD: rc,v 1.355 2011/07/07 18:36:03 robert Exp $ # System startup script run by init on autoboot # or after single-user. --- 1,4 ---- ! # $OpenBSD: rc,v 1.356 2011/07/07 18:40:00 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. *************** *** 94,100 **** set -- `stripcom /etc/wsconsctl.conf` IFS="$save_IFS" while [ $# -ge 1 ] ; do ! eval /sbin/wsconsctl $1 shift done } --- 94,100 ---- set -- `stripcom /etc/wsconsctl.conf` IFS="$save_IFS" while [ $# -ge 1 ] ; do ! eval wsconsctl $1 shift done } *************** *** 368,374 **** if [ X"${named_flags}" != X"NO" ]; then if ! cmp -s /etc/rndc.key /var/named/etc/rndc.key ; then echo -n "rndc-confgen: generating new shared secret... " ! if /usr/sbin/rndc-confgen -a -t /var/named >/dev/null 2>&1; then chmod 0640 /var/named/etc/rndc.key >/dev/null 2>&1 echo done. else --- 368,374 ---- if [ X"${named_flags}" != X"NO" ]; then if ! cmp -s /etc/rndc.key /var/named/etc/rndc.key ; then echo -n "rndc-confgen: generating new shared secret... " ! if rndc-confgen -a -t /var/named >/dev/null 2>&1; then chmod 0640 /var/named/etc/rndc.key >/dev/null 2>&1 echo done. else *************** *** 383,389 **** if [ ! -f /etc/isakmpd/private/local.key ]; then echo -n "openssl: generating new isakmpd/iked RSA key... " ! if /usr/sbin/openssl genrsa -out /etc/isakmpd/private/local.key 2048 \ > /dev/null 2>&1; then chmod 600 /etc/isakmpd/private/local.key openssl rsa -out /etc/isakmpd/local.pub \ --- 383,389 ---- if [ ! -f /etc/isakmpd/private/local.key ]; then echo -n "openssl: generating new isakmpd/iked RSA key... " ! if openssl genrsa -out /etc/isakmpd/private/local.key 2048 \ > /dev/null 2>&1; then chmod 600 /etc/isakmpd/private/local.key openssl rsa -out /etc/isakmpd/local.pub \ *************** *** 540,546 **** echo 'turning on accounting'; accton /var/account/acct fi ! if [ -f /sbin/ldconfig ]; then echo 'creating runtime link editor directory cache.' if [ -d /usr/local/lib ]; then shlib_dirs="/usr/local/lib $shlib_dirs" --- 540,546 ---- echo 'turning on accounting'; accton /var/account/acct fi ! if [ -f ldconfig ]; then echo 'creating runtime link editor directory cache.' if [ -d /usr/local/lib ]; then shlib_dirs="/usr/local/lib $shlib_dirs" *************** *** 555,561 **** echo 'preserving editor files.'; /usr/libexec/vi.recover fi ! /usr/bin/ssh-keygen -A echo -n 'starting network daemons:' --- 555,561 ---- echo 'preserving editor files.'; /usr/libexec/vi.recover fi ! ssh-keygen -A echo -n 'starting network daemons:' *************** *** 576,582 **** ftpproxy identd inetd rarpd bootparamd rbootd mopd if [ X"${bt}" != X"NO" ]; then ! echo -n ' btd'; /usr/sbin/btd if [ -f ${bt_rules} ]; then btctl -f ${bt_rules} fi --- 576,582 ---- ftpproxy identd inetd rarpd bootparamd rbootd mopd if [ X"${bt}" != X"NO" ]; then ! echo -n ' btd'; btd if [ -f ${bt_rules} ]; then btctl -f ${bt_rules} fi *************** *** 638,644 **** date if [ X"${wsmoused_flags}" != X"NO" -a -x /usr/sbin/wsmoused ]; then ! echo 'starting wsmoused...'; /usr/sbin/wsmoused ${wsmoused_flags} fi # Alternatively, on some architectures, xdm may be started in /etc/ttys. --- 638,644 ---- date if [ X"${wsmoused_flags}" != X"NO" -a -x /usr/sbin/wsmoused ]; then ! echo 'starting wsmoused...'; wsmoused ${wsmoused_flags} fi # Alternatively, on some architectures, xdm may be started in /etc/ttys.