summaryrefslogtreecommitdiff
path: root/guix-strap/guix-partition
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-10-07 16:59:12 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-10-07 16:59:12 -0400
commit0be7c27439b75a16cd340b4a72855a7cc6cec06a (patch)
tree3ec923632137c223911a21ed169a1247d9051406 /guix-strap/guix-partition
parentformat btrfs, no YES on cryptsetup format needed (diff)
downloaddotfiles-guix-0be7c27439b75a16cd340b4a72855a7cc6cec06a.tar.gz
dotfiles-guix-0be7c27439b75a16cd340b4a72855a7cc6cec06a.tar.bz2
dotfiles-guix-0be7c27439b75a16cd340b4a72855a7cc6cec06a.zip
guix strap done (hopefully)
Diffstat (limited to 'guix-strap/guix-partition')
-rwxr-xr-xguix-strap/guix-partition13
1 files changed, 0 insertions, 13 deletions
diff --git a/guix-strap/guix-partition b/guix-strap/guix-partition
index 6669129..7acaefd 100755
--- a/guix-strap/guix-partition
+++ b/guix-strap/guix-partition
@@ -2,7 +2,6 @@
set -o emacs;
-CONFIRM=""
DISK=""
source ./guix-log
@@ -10,18 +9,6 @@ source ./guix-env
EVENT "Partitioning disks"
-confirm() {
- if [ "$CONFIRM" == "y" ]; then
- exit 0
- fi
- read -p "Are you sure: ($1)? [y/N] " CONFIRM
- if [ "$CONFIRM" == "y" ]; then
- exit 0
- else
- exit 1
- fi
-}
-
check_disk() {
lsblk $1 &> /dev/null || exit 1
FS=$(df $1 | tail -n 1 | awk '{print $1}')