Browse Source

sensorsd startup via rc/rc.conf

ok millert@
OPENBSD_3_5
henning 21 years ago
parent
commit
ac2b9da765
2 changed files with 7 additions and 2 deletions
  1. +5
    -1
      src/etc/rc
  2. +2
    -1
      src/etc/rc.conf

+ 5
- 1
src/etc/rc View File

@ -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 # System startup script run by init on autoboot
# or after single-user. # 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} echo -n ' apmd'; /usr/sbin/apmd ${apmd_flags}
fi fi
if [ X"${sensorsd_flags}" != X"NO" ]; then
echo -n ' sensorsd'; /usr/sbin/sensorsd ${sensorsd_flags}
fi
echo -n ' cron'; cron echo -n ' cron'; cron
echo '.' echo '.'


+ 2
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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 # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q" 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.forwarding=0
# be sure to set net.inet6.ip6.accept_rtadv=1 # be sure to set net.inet6.ip6.accept_rtadv=1
lpd_flags=NO # for normal use: "" (or "-l" for debugging) lpd_flags=NO # for normal use: "" (or "-l" for debugging)
sensorsd_flags=NO # for normal use: ""
# use -u to disable chroot, see httpd(8) # use -u to disable chroot, see httpd(8)
httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8)) httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))


Loading…
Cancel
Save