Provided by: laptop-mode-tools_1.11-1ubuntu3_all
/usr/sbin/lm-syslog-setup - configure laptop mode to switch syslog.conf
based on power state
This manual page documents briefly the /usr/sbin/lm-syslog-setup
command. /usr/sbin/lm-syslog-setup is a command that sets up the
necessary things to enable laptop mode to switch between different
syslog.conf files based on the power state. If your system runs
syslogd, you can simply run this command and you will have three
syslog.conf files, /etc/syslog-on-ac-with-lm.conf (used when AC power
is present and laptop mode is enabled, i.e. LAPTOP_MODE_ALWAYS_ON=1 in
laptop-mode.conf), /etc/syslog-on-ac-without-lm.conf (used when AC
power is present and laptop mode is disabled) and /etc/syslog-on-
battery.conf (used when AC power is not present). If your system does
NOT run syslogd but some alternative logging daemon, you must modify
/etc/laptop-mode/laptop-mode.conf and specify the correct settings
(configuration file name, executable name, etcetera) for your daemon.
Please note that your daemon MUST support the SIGHUP signal to re-read
its configuration files.
This manual page was written by Bart Samwel (firstname.lastname@example.org) Permission
is granted to copy, distribute and/or modify this document under the
terms of the GNU General Public License, Version 2 any later version
published by the Free Software Foundation.