2
0
Fork 0
rootfs/usr/local/sbin/update-rootfs

12 lines
131 B
Plaintext
Raw Normal View History

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