version 1.1.1.1, 2008/11/10 13:15:33 |
version 1.4, 2009/06/03 05:09:00 |
|
|
${SYSCONFDIR}/apcupsd/apcupsd.conf and add the following lines to |
${SYSCONFDIR}/apcupsd/apcupsd.conf and add the following lines to |
${SYSCONFDIR}/rc.local: |
${SYSCONFDIR}/rc.local: |
|
|
if [ -x ${PREFIX}/sbin/apcupsctl]; then |
if [ -x ${PREFIX}/sbin/apcupsctl ]; then |
echo -n ' apcupsd'; ${PREFIX}/sbin/apcupsctl start |
echo -n ' apcupsd' |
|
${PREFIX}/sbin/apcupsctl start > /dev/null 2>&1 |
fi |
fi |
|
|
This will start apcupsd and use ${SYSCONFDIR}/apcupsd/apcupsd.conf for |
This will start apcupsd and use ${SYSCONFDIR}/apcupsd/apcupsd.conf for |
|
|
echo "Otherwise, the UPS may cut the power during the reboot!!!" |
echo "Otherwise, the UPS may cut the power during the reboot!!!" |
echo |
echo |
fi |
fi |
|
|
See http://www.apcupsd.com, apcupsd(8) and apctest(8) for more |
|
information. Note an old age of offline manuals. |
|