version 1.1, 2008/11/10 13:15:33 |
version 1.2, 2009/01/13 12:57:40 |
|
|
${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 |