From ed795040c77c1e1563a56f5c71b3c7572e89f18e Mon Sep 17 00:00:00 2001 From: bashrc Date: Wed, 17 Jun 2026 20:24:13 +0100 Subject: [PATCH] Change directory before restart --- scripts/restart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/restart b/scripts/restart index c53f8e0a4..52918131f 100755 --- a/scripts/restart +++ b/scripts/restart @@ -1,4 +1,9 @@ #!/bin/bash +if [ -d /etc/epicyon ]; then + cd /etc/epicyon || exit 0 +else + cd /opt/epicyon || exit 0 +fi git stash git pull chown -R epicyon:epicyon *