Bohan Yang 5 年之前
父節點
當前提交
5ab53e4e42
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      debi.sh

+ 1 - 1
debi.sh

@@ -520,7 +520,7 @@ EOF
 
 [ "$bbr" = true ] && late_command '{ echo "net.core.default_qdisc=fq"; echo "net.ipv4.tcp_congestion_control=bbr"; } > /etc/sysctl.d/bbr.conf'
 
-[ -n "$in_target" ] && echo "d-i preseed/late_command string in-target dash -c '$in_target'" | $save_preseed
+[ -n "$in_target" ] && echo "d-i preseed/late_command string in-target sh -c '$in_target'" | $save_preseed
 
 [ "$power_off" = true ] && echo 'd-i debian-installer/exit/poweroff boolean true' | $save_preseed