From 56d175ab07f56950ceb0082391cbbb1ce6f80cd5 Mon Sep 17 00:00:00 2001
From: jedi <git@m.j3d1.de>
Date: Fri, 31 Jan 2020 10:50:59 +0100
Subject: [PATCH] wip

---
 entry.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/entry.sh b/entry.sh
index 2bcbb6b..ae9efb9 100755
--- a/entry.sh
+++ b/entry.sh
@@ -88,3 +88,9 @@ function second_stage(){
 	
 }
 
+function post_install_stage(){
+	sleep 0.5
+    mount | grep target | awk '{print $3}'| sort -r | while read LINE; do
+        umount -l $LINE;
+    done
+}