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