#------------------------------------------------------------------------------ # /etc/config.d/lprng_power - configuration file for lprng_power # # Copyright (c) 2010-2024 The Eisfair Team, team(at)eisfair(dot)org # # Creation : 2010-07-08 jed # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ # general settings #------------------------------------------------------------------------------ START_LPRNG_POWER='no' # activate configuration: yes or no LPRNG_POWER_N='1' # number of power switches LPRNG_POWER_1_ACTIVE='no' # 1. activate: yes or no LPRNG_POWER_1_COMMENT='' # comment/description LPRNG_POWER_1_IPADDR='192.168.6.40:80' # ip address and optional port LPRNG_POWER_1_URL_ON='/r?b=1&r=0&s=1' # url path to switch the device on LPRNG_POWER_1_URL_OFF='/r?b=1&r=0&s=0' # url path to switch the device off LPRNG_POWER_1_URL_STATUS='/xml' # url path to get switch status LPRNG_POWER_1_URL_STATUS_FILTER='sed -e "//!d" -e "s/^.*//" -e "s#.*$##"' # filter cmd to extract status: 1/0 LPRNG_POWER_1_PRINTER_CAPNAME='repr1' # name of printer LPRNG_POWER_1_AUTH='no' # authentication: yes or no LPRNG_POWER_1_USER='admin' # username LPRNG_POWER_1_PASS='allnet' # password LPRNG_POWER_1_TIMEOUT='10' # auto switch-off timeout in minutes #------------------------------------------------------------------------------ # End #------------------------------------------------------------------------------