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:
Fabio Berton
2020-12-08 15:26:29 -03:00
committed by Khem Raj
parent 7474478d41
commit 646a9ebf6d
7 changed files with 220 additions and 0 deletions

View File

@@ -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