From b954b34b062ef1ce768a277fc99d37137801b29a Mon Sep 17 00:00:00 2001
From: Florent Gluck <florent.gluck@hesge.ch>
Date: Wed, 18 Sep 2024 10:48:16 +0200
Subject: [PATCH] Added two shell scripts in tools: devices_umounter and
 devices_watcher

---
 live_exam_os/tools/devices_umounter | 6 ++++++
 live_exam_os/tools/devices_watcher  | 3 +++
 2 files changed, 9 insertions(+)
 create mode 100755 live_exam_os/tools/devices_umounter
 create mode 100755 live_exam_os/tools/devices_watcher

diff --git a/live_exam_os/tools/devices_umounter b/live_exam_os/tools/devices_umounter
new file mode 100755
index 00000000..062c645e
--- /dev/null
+++ b/live_exam_os/tools/devices_umounter
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+while [ 1 ]; do
+	./umount_multi a b c d e f g h i j k l m n o p q r s t u v w x y z
+	sleep 1
+done
diff --git a/live_exam_os/tools/devices_watcher b/live_exam_os/tools/devices_watcher
new file mode 100755
index 00000000..2fac1c2b
--- /dev/null
+++ b/live_exam_os/tools/devices_watcher
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+watch -n 1 "lsblk|grep sd"
-- 
GitLab