diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-11-18 16:37:35 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-11-18 16:37:35 +0000 |
commit | 5ab4bfdde0152842ee1fa8215f14fabb1cd34822 (patch) | |
tree | f555cfe5d62e9f2d960f139a6c1331c1875aa269 /etc | |
parent | a3684c7a7fae3c0a0ad3d9641d29affc2b8aed03 (diff) |
sensorsd startup via rc/rc.conf
ok millert@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 6 | ||||
-rw-r--r-- | etc/rc.conf | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -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/etc/rc.conf b/etc/rc.conf index 5cace7755fd..60607bd1b58 100644 --- a/etc/rc.conf +++ b/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)) |