Raspberry Pi GPIO Web Control / cmd.conf.MAY_BE_CHANGED

# Copyright 2013 der-bub.de
# http://www.der-bub.de
# Author: Sebastian Bub (sebastian@der-bub.de)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# simple configuration file to define external commands to be called within normal processing
# of GPIO ports
#
# In order to integrate anything you want to your GPIO server, you can define external
# processes, e.g. you may send a notification on special conditions or you may integrate
# a commands/scripts which handles other hardware like the SPI port.
#
# The external command is only called when it is given a value, e.g. CMDsample=1. It is not called,
# when used in a condition, e.g. CMDsample==1 or when only read, e.g. CMDsample=IN (old values are
# evaluated/read here, or 0 if it has not run since server startup).
# The value for the GET-Parameter is send as first parameter, e.g. CMDsample=1 would call /xxx/sample.sh 1
# The STDOUT and STDERR is only logged on debug level and can not be processed by the server. The return
# value of the script can be used in coditions.
# The script is only called when not used in a condition. You must call it before,
# e.g. CMDsample=1&CMDsample==0&...
#
#

# you may define multiple commands, just count up the suffix (starting with 1) and specify the maximum 
# (0 means nothing is read)
EXTCMD.NO=0

# a name to address, e.g. the name 'date' must be addressed like CMDdate
#EXTCMD.NAME.1=date
# define a full qualified path and name to call the command
#EXTCMD.COMMANDNAME.1=/usr/bin/date
# timeout in milliseconds
#EXTCMD.TIMEOUT.1=200


#EXTCMD.NAME.2=sample
#EXTCMD.COMMANDNAME.2=/xxx/sample.sh
#EXTCMD.TIMEOUT.2=2000
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.