sh.zio.update-rootfs: add messages and daemon reloading
parent
4cfc7f8c29
commit
d6773d29dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue