diff --git a/clone/clone b/clone/clone index f1bcdb1..567fab5 100755 --- a/clone/clone +++ b/clone/clone @@ -28,6 +28,13 @@ test $device_type != "usb" && echo ">>> ERROR: device type is $device_type, \"us echo "<<< done"; +echo ">>> [!] Checking debian image"; +# (1) Check parameter existence # +test ! -e $IMAGE_FILE && echo -e "debian image '$IMAGE_FILE' not found" && exit; + +echo "<<< done"; + + DEV="$1";