瀏覽代碼

Change --eth to --ethx

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

+ 1 - 1
README.md

@@ -74,7 +74,7 @@ To **revert** all changes, run
  * `--safe-upgrade` **(Default)** `apt upgrade --with-new-pkgs`. [See](https://salsa.debian.org/installer-team/pkgsel/-/blob/master/debian/postinst)
  * `--full-upgrade` `apt dist-upgrade`
  * `--no-upgrade` 
- * `--eth` Disable *Consistent Network Device Naming* to get interface names like *ethX* back
+ * `--ethx` Disable *Consistent Network Device Naming* to get interface names like *ethX* back
  * `--bbr` Enable TCP BBR congestion control
  * `--hold` Don't reboot or power off after installation
  * `--power-off` Power off after installation rather than reboot

+ 1 - 1
debi.sh

@@ -221,7 +221,7 @@ while [ $# -gt 0 ]; do
         --full-upgrade)
             upgrade=full-upgrade
             ;;
-        --eth)
+        --ethx)
             kernel_params="$kernel_params net.ifnames=0 biosdevname=0"
             ;;
         --bbr)