vestasync/files/pullgit.sh
2023-04-16 23:06:06 +07:00

7 lines
213 B
Bash

#!/usr/bin/env sh
git config --global user.name vestasync_wb_$(hostname)
git config --global user.email "vestasync@fake.mail"
cd /mnt/data/etc/
git fetch > /dev/null 2>&1 || true
git pull > /dev/null 2>&1 || true