aboutsummaryrefslogtreecommitdiffstats
path: root/core/scripts/act-chroot.sh
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2017-02-18 07:00:11 +0000
committerSilvino Silva <silvino@bk.ru>2017-02-18 07:00:11 +0000
commit3249400bb2752d46f3dd2494cc069716d0310b10 (patch)
treecb88b7d25e1cc8b4a727443bad339ef2692de542 /core/scripts/act-chroot.sh
parentd11608eafc201f6fc5e6fad86eb76908f489deda (diff)
parentbb078eb6dcd67616e4e57b8df7cf8bc0dbd8ffa9 (diff)
downloaddoc-3249400bb2752d46f3dd2494cc069716d0310b10.tar.gz
Merge install crux 3.3 into r-0.3.1
Diffstat (limited to 'core/scripts/act-chroot.sh')
-rw-r--r--core/scripts/act-chroot.sh47
1 files changed, 16 insertions, 31 deletions
diff --git a/core/scripts/act-chroot.sh b/core/scripts/act-chroot.sh
index 7f665f0..f8ae571 100644
--- a/core/scripts/act-chroot.sh
+++ b/core/scripts/act-chroot.sh
@@ -1,38 +1,23 @@
#!/bin/bash
-printf "1.1.2 EFI block; (/dev/sda1):"
-#read BLK_EFI
-BLK_EFI="/dev/sda1"
+DEV=$1
-printf "1.1.2 boot block; (/dev/sda2):"
-#read BLK_BOOT
-BLK_BOOT="/dev/sda2"
-
-printf "1.1.2 root block; (/dev/sda3):"
-#read BLK_ROOT
-BLK_ROOT="/dev/sda3"
-#
-printf "1.1.2 var block; (/dev/sda4):"
-#read BLK_VAR
-BLK_VAR="/dev/sda4"
-#
-printf "1.1.2 usr block; (/dev/sda6):"
-#read BLK_USR
-BLK_USR="/dev/sda6"
-#
-printf "1.1.2 home block; (/dev/sda7):"
-#read BLK_HOME
-BLK_HOME="/dev/sda7"
-#
-printf "1.1.2 ports block; (/dev/sda8):\n"
-#read BLK_PRT
-BLK_PRT="/dev/sda8"
-
-printf "1.1.2 swap block; (/dev/sda9):\n"
-#read BLK_SWP
-BLK_SWP="/dev/sda9"
+CHROOT="/mnt"
+##read BLK_EFI
+BLK_EFI="${DEV}2"
+##read BLK_BOOT
+BLK_BOOT="${DEV}3"
+##read BLK_ROOT
+BLK_ROOT="${DEV}4"
+##read BLK_VAR
+BLK_VAR="${DEV}5"
+##read BLK_USR
+BLK_USR="${DEV}6"
+##read BLK_SWP
+BLK_SWP="${DEV}7"
+##read BLK_HOME
+BLK_HOME="${DEV}8"
-printf "1.1.3 mount point to chroot (/mnt):"
#read CHROOT
CHROOT="/mnt"