mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-08 15:15:00 +02:00
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>
17 lines
262 B
Bash
17 lines
262 B
Bash
#!/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
|