forked from johnfanv2/LenovoLegionLinux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
legion_linux & service: Add OpenRC services file and warning to gui
* PR are welcome for improvements, I not familiar with OpenRC Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
- Loading branch information
1 parent
ee77d2b
commit 151da20
Showing
4 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,4 +61,6 @@ Mkfile.old | |
dkms.conf | ||
|
||
build/ | ||
dist/ | ||
dist/ | ||
extra/service/legiond/legiond | ||
extra/service/legiond/legiond-ctl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
case $1/$2 in | ||
post/*) | ||
while true; do | ||
/usr/bin/legiond-ctl cpuset | ||
sleep 30 | ||
done | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
case $1/$2 in | ||
post/*) | ||
/usr/bin/legiond-cli fanset 3 | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters