From 36ffba730fe0573fbeab7f7171e877a3f9910961 Mon Sep 17 00:00:00 2001 From: RomanNum3ral Date: Sat, 8 Mar 2025 18:53:11 +0000 Subject: [PATCH] Update install2.sh --- install2.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install2.sh b/install2.sh index ee4cbdd..9641bf0 100644 --- a/install2.sh +++ b/install2.sh @@ -15,6 +15,5 @@ cd mkdir stablediff cd stablediff wget https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh -CRON_JOB="@reboot /home/anon/stablediff/webui.sh --listen --api" -(crontab -l 2>/dev/null | grep -Fxq "$CRON_JOB") || (echo "$CRON_JOB" | crontab -) -reboot now \ No newline at end of file +sudo chmod +x webui.sh +./webui.sh --listen --api \ No newline at end of file