summaryrefslogtreecommitdiff
path: root/alis-recovery.sh
diff options
context:
space:
mode:
authorpicodotdev <pico.dev@gmail.com>2018-07-22 03:17:47 +0200
committerpicodotdev <pico.dev@gmail.com>2018-07-22 10:43:52 +0200
commit6669bf3efd917d78c10d2bfa49cecd8ac8363f3f (patch)
treee01c86a595be39f67814a6c5417b4795df04c04f /alis-recovery.sh
parent9a4207be11a1f76c50469a391a5a0fc19e9a299d (diff)
Use asciinema for record install and log
Fixes #22
Diffstat (limited to 'alis-recovery.sh')
-rw-r--r--alis-recovery.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/alis-recovery.sh b/alis-recovery.sh
index c19f70d..4c231e0 100644
--- a/alis-recovery.sh
+++ b/alis-recovery.sh
@@ -40,7 +40,7 @@ set -e
# Usage:
# # loadkeys es
# # curl https://raw.githubusercontent.com/picodotdev/alis/master/download.sh | bash, or with URL shortener curl -sL https://bit.ly/2F3CATp | bash
-# # vim alis.conf
+# # vim alis-recovery.conf
# # ./alis-recovery.sh
# global variables (no configuration, don't edit)
@@ -69,7 +69,6 @@ ADDITIONAL_USER_NAMES_ARRAY=()
ADDITIONAL_USER_PASSWORDS_ARRAY=()
MODULES=""
-LOG="alis-recovery.log"
RED='\033[0;31m'
GREEN='\033[0;32m'
LIGHT_BLUE='\033[1;34m'
@@ -145,16 +144,9 @@ function warning() {
}
function init() {
- init_log
loadkeys $KEYS
}
-function init_log() {
- exec > >(tee -a $LOG)
- exec 2> >(tee -a $LOG >&2)
- set -o xtrace
-}
-
function facts() {
if [ -d /sys/firmware/efi ]; then
BIOS_TYPE="uefi"