11 lines
131 B
Bash
Executable file
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
|