1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/misc/raspberrypi-gpioshutdown/pkg-message
Steve Wills 32078c8a43 misc/raspberrypi-gpioshutdown: create port
GPIO 'shutdown' Kernel module for the Raspberry Pi Model 1B and Model 2

The purpose of this module is to shut down all GPIOs prior to powering off
or rebooting a Raspberry Pi.

PR:		226787
Submitted by:	Bob Frazier <bobf@mrp3.com>
2018-08-29 17:30:03 +00:00

21 lines
640 B
Plaintext

raspberrypi-gpioshutdown kernel module:
This port installs a startup script in your ${LOCALBASE} etc/rc.d directory
called 'gpioshutdown'.
Once installed, either load the kernel module at boot time (using
/boot/loader.conf) or by adding the following entry to the /etc/rc.conf file
(recommended) by running this command:
sysrc gpioshutdown_enable="YES"
Or, you can simply load the module using the 'rc' system, by adding this
line to /etc/rc.conf instead:
kld_list=gpioshutdown
If you have other modules in 'kld_list' just add 'gpioshutdown' to the end of
that list.
For more detailed information, type 'man 4 gpioshutdown'.