diff --git a/sh/fs.sh b/sh/fs.sh index fb3db50..6cc85ff 100644 --- a/sh/fs.sh +++ b/sh/fs.sh @@ -36,7 +36,7 @@ fs_make_btrfs_swap() { fi } -fs_make_fat() { +sh_fs_make_fat() { local device="${1}" local name="${2}" local volid="${3}" diff --git a/sh/rescue/hetzner.sh b/sh/rescue/hetzner.sh index f5283f2..9de0134 100644 --- a/sh/rescue/hetzner.sh +++ b/sh/rescue/hetzner.sh @@ -44,7 +44,7 @@ rescue_wipe_0_init_hetzner_8_8() { echo "#${number}: ${device}3" # format esp sh_fs_wipe "${device}3" "1M" - fs_make_fat "${device}3" "esp-${number}" "0000000${number}" + sh_fs_make_fat "${device}3" "esp-${number}" "0000000${number}" # mount esp mkdir --parents "/media/esp/${number}" mount "${device}3" "/media/esp/${number}" diff --git a/sh/rescue/ovh.sh b/sh/rescue/ovh.sh index 732b045..117ac5e 100644 --- a/sh/rescue/ovh.sh +++ b/sh/rescue/ovh.sh @@ -20,7 +20,7 @@ rescue_wipe_0_init_ovh_vle2() { # esp / wipe sh_fs_wipe "${device}3" "1M" # esp / format - fs_make_fat "${device}3" "esp" "00000001" + sh_fs_make_fat "${device}3" "esp" "00000001" # esp / mount mkdir --parents "/media/esp" mount "${device}3" "/media/esp"