patch-LCDd_conf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. $OpenBSD: patch-LCDd_conf,v 1.1.1.1 2011/12/01 19:05:11 edd Exp $
  2. OpenBSD path and there is no point in logging to stderr if we use daemon() to daemonise
  3. (stderr will get closed).
  4. Fix a typo.
  5. --- LCDd.conf.orig Wed Nov 9 19:50:01 2011
  6. +++ LCDd.conf Wed Nov 16 18:10:31 2011
  7. @@ -34,7 +34,7 @@
  8. # the driver modules and will thus not be able to
  9. # function properly.
  10. # NOTE: Always place a slash as last character !
  11. -DriverPath=server/drivers/
  12. +DriverPath=${TRUEPREFIX}/lib/lcdproc/
  13. # Tells the server to load the given drivers. Multiple lines can be given.
  14. # The name of the driver is case sensitive and determines the section
  15. @@ -50,7 +50,7 @@ DriverPath=server/drivers/
  16. # mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD, picolcd,
  17. # pyramid, sed1330, sed1520, serialPOS, serialVFD, shuttleVFD, sli,
  18. # stv5730, svga, t6963, text, tyan, ula200, xosd
  19. -Driver=curses
  20. +Driver=<<<CHOOSE A DRIVER!>>>
  21. # Tells the driver to bind to the given interface
  22. Bind=127.0.0.1
  23. @@ -62,11 +62,11 @@ Port=13666
  24. #ReportLevel=3
  25. # Should we report to syslog instead of stderr ? [default: no; legal: yes, no]
  26. -#ReportToSyslog=yes
  27. +ReportToSyslog=yes
  28. # User to run as. LCDd will drop its root privileges, if any,
  29. # and run as this user instead.
  30. -User=nobody
  31. +User=_lcdproc
  32. # The server will stay in the foreground if set to true.
  33. #Foreground=no
  34. @@ -79,7 +79,7 @@ User=nobody
  35. #GoodBye="Thanks for using"
  36. #GoodBye=" LCDproc!"
  37. -# Sets the default time in seconds to displays a screen.
  38. +# Sets the default time in seconds to display a screen.
  39. WaitTime=5
  40. # If set to no, LCDd will start with screen rotation disabled. This has the