From 09c014f17a6cbc15ca4f36ba747a696d4fba3a40 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 1 Feb 2022 05:38:02 -0500 Subject: [PATCH] Update and rename autodev.sh to usb-passthrough.sh --- misc/{autodev.sh => usb-passthrough.sh} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename misc/{autodev.sh => usb-passthrough.sh} (92%) diff --git a/misc/autodev.sh b/misc/usb-passthrough.sh similarity index 92% rename from misc/autodev.sh rename to misc/usb-passthrough.sh index e96f2245..76e795cb 100644 --- a/misc/autodev.sh +++ b/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 <> $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