From 4493bdc6e4d49fb4d87420f7710d7874db9785ce Mon Sep 17 00:00:00 2001 From: Antynea Date: Wed, 7 Oct 2020 02:00:23 +0200 Subject: [PATCH] Clean code Remove commented commands that are no longer needed. --- 41_snapshots-btrfs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/41_snapshots-btrfs b/41_snapshots-btrfs index 18ea4f8..539d2ef 100755 --- a/41_snapshots-btrfs +++ b/41_snapshots-btrfs @@ -136,13 +136,9 @@ test_btrfs() ### Script ## Create entry -entry() { +entry() +{ echo "$@" >> "/boot/$grub_directory/grub-btrfs.cfg" -# local arg="$@" -# echo "${arg}" >> "/boot/$grub_directory/grub-btrfs.cfg" -# cat << EOF >> "/boot/$grub_directory/grub-btrfs.cfg" -# ${arg} -# EOF } ## menu entries