diff --git a/includes/create_box.sh b/includes/create_box.sh index e1c48f9..f7c2c48 100644 --- a/includes/create_box.sh +++ b/includes/create_box.sh @@ -50,7 +50,6 @@ create_box() { umount $dir/environment } -# Call the parse_skill_ if the script is run directly (not sourced) if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then (create_box) fi diff --git a/includes/duplicate_box.sh b/includes/duplicate_box.sh index 6871787..c186d02 100644 --- a/includes/duplicate_box.sh +++ b/includes/duplicate_box.sh @@ -43,7 +43,6 @@ duplicate_box() { cp $dir/images/"$old".img $dir/images/"$new".img } -# Call the parse_skill_ if the script is run directly (not sourced) if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then (duplicate_box) fi diff --git a/includes/enter_box.sh b/includes/enter_box.sh index 1d18270..6e3bbbc 100644 --- a/includes/enter_box.sh +++ b/includes/enter_box.sh @@ -38,7 +38,6 @@ enter-box() { chroot $dir/environment /bin/su - } -# Call the parse_skill_ if the script is run directly (not sourced) if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then (enter-box) fi diff --git a/includes/list_boxes.sh b/includes/list_boxes.sh index a222bca..b493f53 100644 --- a/includes/list_boxes.sh +++ b/includes/list_boxes.sh @@ -40,7 +40,6 @@ list_boxes() { " } -# Call the parse_skill_ if the script is run directly (not sourced) if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then (list_boxes) fi diff --git a/includes/start_box.sh b/includes/start_box.sh index 6f87d0f..eaac2c1 100644 --- a/includes/start_box.sh +++ b/includes/start_box.sh @@ -47,7 +47,6 @@ start_box() { chroot $dir/environment /bin/su -c 'sh /boot/boot.sh' } -# Call the parse_skill_ if the script is run directly (not sourced) if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then (start_box) fi diff --git a/includes/stop_box.sh b/includes/stop_box.sh index 64add2f..84f5f5f 100644 --- a/includes/stop_box.sh +++ b/includes/stop_box.sh @@ -51,7 +51,6 @@ stop_box() { umount $dir/environment } -# Call the parse_skill_ if the script is run directly (not sourced) if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then (stop_box) fi