ソースを参照

Support busybox wget

Bohan Yang 6 年 前
コミット
c696ffd36b
1 ファイル変更3 行追加1 行削除
  1. 3 1
      netboot.sh

+ 3 - 1
netboot.sh

@@ -466,8 +466,10 @@ if [ "$DEBI_DRY_RUN" != true ]; then
         wget "$DEBI_BASE_URL/linux" "$DEBI_BASE_URL/initrd.gz"
     elif command_exists curl; then
         curl -O "$DEBI_BASE_URL/linux" -O "$DEBI_BASE_URL/initrd.gz"
+    elif command_exists busybox; then
+        busybox wget "$DEBI_BASE_URL/linux" "$DEBI_BASE_URL/initrd.gz"
     else
-        echo_stderr 'Error: wget/curl not found.'
+        echo_stderr 'Error: wget/curl/busybox not found.'
         exit 1
     fi