summaryrefslogtreecommitdiff
path: root/meta/new.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta/new.sh')
-rwxr-xr-xmeta/new.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/new.sh b/meta/new.sh
new file mode 100755
index 0000000..deb0774
--- /dev/null
+++ b/meta/new.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# If the filesystem becomes corrupted this shell script is used to
+# completly reset it
+scriptdir="$(dirname "$0")"
+cd "$scriptdir"
+rm ext2.img
+mkfs.ext2 ext2.img 20M
+./sync.sh