Skip to content
Snippets Groups Projects
Verified Commit c0cf1c07 authored by Qiyang Sun's avatar Qiyang Sun :speech_balloon:
Browse files

Add daemon to monitor GPIO and switch runlevel

parent 52b5e216
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
/usr/local/gpiomon -c 0 -n 1 -q 24
# blocked until
/sbin/chlevel.sh 3
.TH LEVEL3D 8 "November 2024" "Version 0.1" "System Administration Commands and Daemon Manual"
.SH NAME
level3d.sh \- runlevel 3 daemon
.SH SYNOPSIS
.B /usr/sbin/level3d.sh &
.SH DESCRIPTION
Level3d.sh is blocked until GPIO 24 is high, and invoke /sbin/chlevel.sh 3.
.SH SEE ALSO
.BR chlevel (1),
.BR fastinit (8),
.SH AUTHOR
The
.B level3d
script was first written by Qiyang Sun <qs2g22@soton.ac.uk>, and is maintained by the MAR24 project maintainers.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment