typo(setup): mmount -> mount
This commit is contained in:
parent
0f68e97843
commit
75118b4dbd
8 changed files with 28 additions and 8 deletions
|
@ -21,7 +21,7 @@ Setup with a wide array of hardware compatibility, specifically using the =porta
|
|||
#+BEGIN_SRC bash :tangle setup.bash :shebang "#!/usr/bin/env bash" :noweb yes :comments noweb
|
||||
<<boilerplate>>
|
||||
|
||||
<<mmount_check>>
|
||||
<<mount_check>>
|
||||
|
||||
<<partitioning>>
|
||||
|
||||
|
|
|
@ -6,7 +6,12 @@ DISK=$1
|
|||
sudo mkdir -p /mnt
|
||||
# boilerplate ends here
|
||||
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-STICK/readme.org::mount_check][mount_check]]][mount_check]]
|
||||
if mountpoint -q -- "/mnt"; then
|
||||
echo "ERROR: /mnt is a mounted filesystem, aborting"
|
||||
exit 1
|
||||
fi
|
||||
# mount_check ends here
|
||||
|
||||
# [[[[file:/etc/nixos/hosts/Infini-STICK/readme.org::partitioning][partitioning]]][partitioning]]
|
||||
echo "LOG: Partitioning $DISK"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue