From ac2b9da76573f6c15f569e8b7eacb6dde888f151 Mon Sep 17 00:00:00 2001 From: henning <> Date: Tue, 18 Nov 2003 16:37:34 +0000 Subject: [PATCH] sensorsd startup via rc/rc.conf ok millert@ --- src/etc/rc | 6 +++++- src/etc/rc.conf | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index 07ab0b17..8bff501b 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.228 2003/07/29 17:52:17 henning Exp $ +# $OpenBSD: rc,v 1.229 2003/11/18 16:37:34 henning Exp $ # System startup script run by init on autoboot # or after single-user. @@ -597,6 +597,10 @@ if [ "X${apmd_flags}" != X"NO" -a -x /usr/sbin/apmd ]; then echo -n ' apmd'; /usr/sbin/apmd ${apmd_flags} fi +if [ X"${sensorsd_flags}" != X"NO" ]; then + echo -n ' sensorsd'; /usr/sbin/sensorsd ${sensorsd_flags} +fi + echo -n ' cron'; cron echo '.' diff --git a/src/etc/rc.conf b/src/etc/rc.conf index 5cace775..60607bd1 100644 --- a/src/etc/rc.conf +++ b/src/etc/rc.conf @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: rc.conf,v 1.90 2003/07/01 23:05:06 david Exp $ +# $OpenBSD: rc.conf,v 1.91 2003/11/18 16:37:34 henning Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=NO # for normal use: "-q" @@ -26,6 +26,7 @@ rtsold_flags=NO # for normal use: interface # be sure to set net.inet6.ip6.forwarding=0 # be sure to set net.inet6.ip6.accept_rtadv=1 lpd_flags=NO # for normal use: "" (or "-l" for debugging) +sensorsd_flags=NO # for normal use: "" # use -u to disable chroot, see httpd(8) httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))