瀏覽代碼

Update and rename autodev.sh to usb-passthrough.sh

tteckster 3 年之前
父節點
當前提交
09c014f17a
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      misc/usb-passthrough.sh

+ 2 - 1
misc/autodev.sh → misc/usb-passthrough.sh

@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
-
+echo -e "\e[1;33m This script will allow USB passthrough to a LXC Container \e[0m"
 while true; do
     read -p "Did you replace 106 with your LXC ID? Proceed(y/n)?" yn
     case $yn in
@@ -67,6 +67,7 @@ cat <<EOF >> $CTID_CONFIG_PATH
 lxc.autodev: 1
 lxc.hook.autodev: bash -c '$HOOK_SCRIPT'
 EOF
+echo -e "\e[1;33m Finished....Reboot ${CTID} LXC to apply the changes \e[0m"
 
 # In the Proxmox web shell run (replace 106 with your LXC ID)
 # bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/autodev.sh)" -s 106