2
0
Fork 0
rootfs/usr/local/sbin/update-rootfs
2022-02-23 01:00:13 +00:00

11 lines
131 B
Bash
Executable file

#!/bin/bash
# TODO: Check if we're actually using the rootfs git
orig_dir="$(pwd)"
cd /
git reset --hard
git pull
cd $orig_dir