Skip to content

Commit 485e9a9

Browse files
committed
update install.sh
1 parent ccced5c commit 485e9a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ check_traffic_increase
315315
EOL
316316

317317
# Set execute permission for the created script
318-
chmod +x /root/usage/limit.sh
318+
chmod +x /root/usage/limit.sh && /root/usage/limit.sh
319319

320320
# Schedule the script to run every 24 hours using cron job
321321
(crontab -l 2>/dev/null | grep -v '/root/usage/limit.sh' ; echo '0 0 * * * /root/usage/limit.sh > /dev/null 2>&1;') | crontab -

0 commit comments

Comments
 (0)