diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2018-03-07 10:29:25 +0100 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2018-03-07 10:29:25 +0100 |
commit | 4bd2731463230669c7c19c0ee085f3019f3ef169 (patch) | |
tree | 0703733d407c86e26e8cc322c661ffe79889b0e1 /lava-slave/scripts/start.sh | |
parent | b71a8c43342631b540ac2a3b05962f640f2f0fd7 (diff) |
Ensure that tty can be read by cu
On some OS, the rights/user from host are not duplicated on guest.
So the tty is owned by root and cu could not read it.
Force the owning of all tty by uucp
Diffstat (limited to 'lava-slave/scripts/start.sh')
-rwxr-xr-x | lava-slave/scripts/start.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lava-slave/scripts/start.sh b/lava-slave/scripts/start.sh index dcbbcd7..ec94aee 100755 --- a/lava-slave/scripts/start.sh +++ b/lava-slave/scripts/start.sh @@ -16,6 +16,8 @@ sleep 2 for item in $(ls /etc/conmux/*cf) do echo "Add $item" + # On some OS, the rights/user from host are not duplicated on guest + grep -o '/dev/[a-zA-Z0-9_-]*' $item | xargs chown uucp /usr/sbin/conmux $item & done |