Compare commits

..

No commits in common. "08235d8ac250852d684e906684d789ce4a9aa2d4" and "d7d4d296e50340c38b64a2cb5e1863b247ef9be5" have entirely different histories.

4 changed files with 4 additions and 18 deletions

View File

@ -54,7 +54,7 @@ function update_script() {
if [[ ! -f /etc/apt/sources.list.d/plexmediaserver.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select \nplexupdate info >> https://github.com/mrworf/plexupdate" 10 59 2 \
"1" "Update LXC" ON \
"2" "Install plexupdate" OFF \
"2" "Run plexupdate" OFF \
3>&1 1>&2 2>&3)
header_info

View File

@ -29,7 +29,7 @@ color
catch_errors
function default_settings() {
CT_TYPE="0"
CT_TYPE="1"
PW=""
CT_ID=$NEXTID
HN=$NSAPP

View File

@ -20,19 +20,6 @@ $STD apt-get install -y mc
$STD apt-get install -y unzip
msg_ok "Installed Dependencies"
if [[ "$CTTYPE" == "0" ]]; then
msg_info "Setting Up Hardware Acceleration"
$STD apt-get -y install \
va-driver-all \
ocl-icd-libopencl1 \
intel-opencl-icd
/bin/chgrp video /dev/dri
/bin/chmod 755 /dev/dri
/bin/chmod 660 /dev/dri/*
msg_ok "Set Up Hardware Acceleration"
fi
msg_info "Installing Tdarr"
mkdir -p /opt/tdarr
cd /opt/tdarr

View File

@ -467,7 +467,6 @@ build_container() {
export VERBOSE="$VERB"
export SSH_ROOT="${SSH}"
export CTID="$CT_ID"
export CTTYPE="$CT_TYPE"
export PCT_OSTYPE="$var_os"
export PCT_OSVERSION="$var_version"
export PCT_DISK_SIZE="$DISK_SIZE"
@ -488,7 +487,7 @@ build_container() {
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
if [ "$CT_TYPE" == "0" ]; then
if [[ "$APP" != "Emby" && "$APP" != "Jellyfin" && "$APP" != "Plex" && "$APP" != "Tdarr" ]]; then
if [[ "$APP" != "Emby" && "$APP" != "Jellyfin" && "$APP" != "Plex" ]]; then
cat <<EOF >>$LXC_CONFIG
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
@ -504,7 +503,7 @@ EOF
fi
if [ "$CT_TYPE" == "0" ]; then
if [[ "$APP" == "Emby" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Tdarr" ]]; then
if [[ "$APP" == "Emby" || "$APP" == "Jellyfin" || "$APP" == "Plex" ]]; then
cat <<EOF >>$LXC_CONFIG
lxc.cgroup2.devices.allow: a
lxc.cap.drop: