From 100c1e2fdb91a1ba6248968b2bd031ea0d9eced3 Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Wed, 30 Dec 2020 21:44:41 -0600 Subject: [PATCH] Update 'i.sh' --- i.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i.sh b/i.sh index 8be2396..b1d05e5 100644 --- a/i.sh +++ b/i.sh @@ -93,13 +93,13 @@ sysctl -p ## Remove subscription banner if [ -f "/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js" ] ; then sed -i "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js - # create a daily cron to make sure the banner does not re-appear - cat <<'EOF' > /etc/cron.daily/proxmox-nosub + # create a hourly cron to make sure the banner does not re-appear + cat <<'EOF' > /etc/cron.hourly/proxmox-nosub #!/bin/sh # eXtremeSHOK.com Remove subscription banner sed -i "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js EOF - chmod 755 /etc/cron.daily/proxmox-nosub + chmod 755 /etc/cron.hourly/proxmox-nosub fi ## Increase max user watches