Skip to content

Commit

Permalink
refactor: reduce delay to 1sec
Browse files Browse the repository at this point in the history
  • Loading branch information
EmixamPP committed May 8, 2024
1 parent e7eb2af commit 6112f84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boot_service/openrc/linux-enable-ir-emitter
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description="enable the infrared emitter"

start_pre() {
modprobe uvcvideo
/bin/sleep 2
/bin/sleep 1
}

start() {
Expand Down
2 changes: 1 addition & 1 deletion boot_service/systemd/linux-enable-ir-emitter.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After = suspend.target sleep.target hybrid-sleep.target hibernate.target suspend
[Service]
Type = oneshot
ExecStartPre = modprobe uvcvideo
ExecStartPre= sleep 2
ExecStartPre= sleep 1
ExecStart = linux-enable-ir-emitter --verbose run

[Install]
Expand Down

0 comments on commit 6112f84

Please sign in to comment.