mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 20:51:57 +02:00
linuxconsole: Add recipe for version 1.7.0
Add linuxconsole and inputattach-config recipes. The inputattach-config recipe is intend to use as machine configuration file for inputattach. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
do_start() {
|
||||
grep -v '^#' /etc/inputattach.conf | while read -r line; do
|
||||
inputattach --daemon $line || exit 1
|
||||
done
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
do_start
|
||||
;;
|
||||
stop)
|
||||
killall -9 inputattach || true
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user