Remove utility check loop
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user