Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
Meta MAR Fast Boot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Qiyang Sun
Meta MAR Fast Boot
Commits
c0cf1c07
Verified
Commit
c0cf1c07
authored
6 months ago
by
Qiyang Sun
Browse files
Options
Downloads
Patches
Plain Diff
Add daemon to monitor GPIO and switch runlevel
parent
52b5e216
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
recipes-core/fastinit/files/level3d.sh
+6
-0
6 additions, 0 deletions
recipes-core/fastinit/files/level3d.sh
recipes-core/fastinit/level3d.8
+18
-0
18 additions, 0 deletions
recipes-core/fastinit/level3d.8
with
24 additions
and
0 deletions
recipes-core/fastinit/files/level3d.sh
0 → 100755
+
6
−
0
View file @
c0cf1c07
#!/bin/sh
/usr/local/gpiomon
-c
0
-n
1
-q
24
# blocked until
/sbin/chlevel.sh 3
This diff is collapsed.
Click to expand it.
recipes-core/fastinit/level3d.8
0 → 100644
+
18
−
0
View file @
c0cf1c07
.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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment