From 50c02e4b17f07346fbc31c0dcebd7d8562a8fa5d Mon Sep 17 00:00:00 2001
From: jedi <git@m.j3d1.de>
Date: Wed, 29 Jan 2020 22:00:16 +0100
Subject: [PATCH] wip

---
 unbox.sh | 29 ++++-------------------------
 1 file changed, 4 insertions(+), 25 deletions(-)

diff --git a/unbox.sh b/unbox.sh
index 592aa8d..b30df79 100755
--- a/unbox.sh
+++ b/unbox.sh
@@ -32,11 +32,11 @@ function unbox_outer_stage(){
     fi
 
     if type -t chroot > /dev/null; then
-        #if type -t arch-chroot > /dev/null; then
-        #    CHROOT=arch-chroot
-        #else
+        if type -t arch-chroot > /dev/null; then
+            CHROOT=arch-chroot
+        else
             CHROOT=chroot
-        #fi
+        fi
     else
         echo ERROR: no chroot found 1>&2
         exit 1
@@ -65,27 +65,6 @@ function unbox_inner_stage(){
 }
 
 cd $(dirname $0)
-
-
-function test_fun(){
-	#choose_one test1 | prefix_time
-	#sleep 1
-	#block_devices | choose_one - 
-	#echo "> "$test
-	choose_dialog
-	#sleep 1
-	#choose_one | prefix_time
-}
-
-if [ $# -eq 1 ]; then
-	if [ $1 = "test" ]; then
-		test_fun
-		exit 0
-	fi
-fi
-
-
-
 if [[ $# -ge 1 ]]; then 
     CMD=$1
     shift