From 2303775d621ffba554779ed9135b492c661b1e78 Mon Sep 17 00:00:00 2001 From: jerryhopper Date: Sun, 20 Dec 2020 15:50:20 +0100 Subject: [PATCH] serial-getty --- bin/osbox-service.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bin/osbox-service.sh b/bin/osbox-service.sh index efd0424..1d5d05a 100644 --- a/bin/osbox-service.sh +++ b/bin/osbox-service.sh @@ -6,6 +6,16 @@ source /usr/local/osbox/bin/fn/log.fn source /usr/local/osbox/bin/fn/IsOnline.fn +systemctl stop serial-getty@ttyS0.service + +crontab -l +if [ "$?" != "0"];then + osbox cron create +fi + + + + if [ ! -f /etc/osbox/.deviceID ];then echo -n "$(cat /proc/sys/kernel/random/uuid)">/etc/osbox/.deviceID fi