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

12 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