mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
32078c8a43
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>
21 lines
640 B
Plaintext
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'.
|