From 10a35a43e8982ca8d3dd0af354a1306b76fcc2b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madis=20M=C3=A4gi?= Date: Tue, 23 Feb 2021 00:36:21 +0200 Subject: [PATCH] Remove utility check loop --- overlay/sbin/butterknife-provision | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/overlay/sbin/butterknife-provision b/overlay/sbin/butterknife-provision index 3bfb25f..5eb4b73 100755 --- a/overlay/sbin/butterknife-provision +++ b/overlay/sbin/butterknife-provision @@ -9,20 +9,6 @@ TARGET_MOUNTPOINT=/mnt/target AGENT="Butterknife-Provisioning-Image/0.2" URL_LOCAL=http://butterknife - -####################################### -### Check for presence of utilities ### -####################################### -for util in btrfs jq fdisk find ntfsresize udp-sender udp-receiver ntpdate curl ms-sys mktemp test true sort uniq dig; do - if [ -z "$(which $util)" ]; then - echo "Butterknife was unable to locate $util," \ - "are you sure the provisioning image was compiled properly?" - exit 253 - else - echo "Found $util..." - fi -done - #for i in $(cat /proc/cmdline); do # case i in # bk_debug)