version 1.1, 2008/11/10 13:15:33 |
version 1.3, 2009/05/18 04:51:50 |
|
|
${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 2>&1 > /dev/null |
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. |
|