diff --git a/sh/fs.sh b/sh/fs.sh index 6cc85ff..fa0657f 100644 --- a/sh/fs.sh +++ b/sh/fs.sh @@ -18,7 +18,7 @@ fs_make_btrfs() { fi } -fs_make_btrfs_swap() { +sh_fs_make_btrfs_swap() { local path="${1}" local size="${2}" local uuid="${3}" diff --git a/sh/rescue/hetzner.sh b/sh/rescue/hetzner.sh index 9de0134..b541b26 100644 --- a/sh/rescue/hetzner.sh +++ b/sh/rescue/hetzner.sh @@ -122,6 +122,6 @@ rescue_wipe_2_make_hetzner_8_8() { --options "autodefrag,compress-force=zstd" \ "/dev/mapper/crypt" "/media/crypt" # make swap file - fs_make_btrfs_swap "/media/crypt/swap" "64g" \ + sh_fs_make_btrfs_swap "/media/crypt/swap" "64g" \ "00000000-0000-0000-0000-000000000005" } diff --git a/sh/rescue/ovh.sh b/sh/rescue/ovh.sh index 117ac5e..3127564 100644 --- a/sh/rescue/ovh.sh +++ b/sh/rescue/ovh.sh @@ -66,6 +66,6 @@ rescue_wipe_2_make_ovh_vle2() { mount --options "autodefrag,compress-force=zstd" \ "/dev/mapper/crypt" "/media/crypt" # crypt / swap - fs_make_btrfs_swap "/media/crypt/swap" "4g" \ + sh_fs_make_btrfs_swap "/media/crypt/swap" "4g" \ "00000000-0000-0000-0000-000000000005" }