From d6773d29dcfe6c3c5914bb2257effe55ef510266 Mon Sep 17 00:00:00 2001 From: Ducky Date: Tue, 22 Aug 2023 22:26:21 +0100 Subject: [PATCH] sh.zio.update-rootfs: add messages and daemon reloading --- usr/local/bin/sh.zio.update-rootfs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/usr/local/bin/sh.zio.update-rootfs b/usr/local/bin/sh.zio.update-rootfs index 3b5cdb5..8b98c80 100755 --- a/usr/local/bin/sh.zio.update-rootfs +++ b/usr/local/bin/sh.zio.update-rootfs @@ -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