gpio.conf(5) netbsd man page | unix.com

Man Page: gpio.conf

Operating Environment: netbsd

Section: 5

GPIO.CONF(5)						      BSD File Formats Manual						      GPIO.CONF(5)

NAME
gpio.conf -- GPIO config file
DESCRIPTION
The gpio.conf file is read by the gpio rc.d script during system start-up and shutdown, and is intended for configuring GPIO pins. FILE FORMAT Lines starting with a hash ('#') and empty lines are ignored. All other lines are passed to gpioctl(8).
FILES
/etc/gpio.conf The gpio.conf configuration file resides in /etc. /etc/rc.d/gpio rc.d(8) script that parses gpio.conf.
EXAMPLES
In this example, if the /etc/gpio.conf config file is present pin 1 of /dev/gpio0 is set as output and named "error_led". # Program pin 1 of /dev/gpio0 as output and name it "error_led" gpio0 1 set out error_led
SEE ALSO
gpioctl(8), rc(8)
BSD
August 1, 2009 BSD
Related Man Pages
gpio_pin_set(3) - freebsd
gpio_pin_pulldown(3) - freebsd
gpio(4) - freebsd
gpiobus(4) - freebsd
gpioled(4) - freebsd
Similar Topics in the Unix Linux Community
sorting left-justified numeric values
Vm versus physical linux server
Make bold chars in UNIX
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD