Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
ボリューム名変更
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatehay committed Mar 13, 2024
1 parent 359ce69 commit bc01e9d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions usr/bin/boot-mount
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#!/usr/bin/env bash

STR=$(ls -l /dev/disk/by-label|grep UVE_|sed s,../,,g)
STR=$(ls -l /dev/disk/by-label|grep ALIS_|sed s,../,,g)
ARRAY=(${STR})

#ドライブは配列の10番
INSTMED="/dev/${ARRAY[10]}"

mkdir /run/archiso/bootmnt
if [ ! -d /run/archiso/bootmnt ]; then
mkdir -p /run/archiso/bootmnt
fi
mount ${INSTMED} /run/archiso/bootmnt

systemctl disable boot-mount

0 comments on commit bc01e9d

Please sign in to comment.