2
0
Fork 0

sh.zio.update-rootfs: add messages and daemon reloading

main
Ducky 2023-08-22 22:26:21 +01:00
parent 4cfc7f8c29
commit d6773d29dc
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,8 @@ fi
test_root
test_prog "git"
say info "Fetching latest..."
orig_dir="$(pwd)"
cd /
@ -18,3 +20,7 @@ git fetch --all
git reset --hard origin/main
cd $orig_dir
say info "Reloading daemons..."
systemctl daemon-reload