chiark / gitweb /
add chroot-setup, chroot-teardown, and chroot-enter suite of tools
[bin.git] / chroot-enter
diff --git a/chroot-enter b/chroot-enter
new file mode 100755 (executable)
index 0000000..b260b3a
--- /dev/null
@@ -0,0 +1,4 @@
+#! /bin/sh
+ROOT="${1:-/chroot/sid}"
+chroot-setup "$ROOT"
+sudo chroot "$ROOT" su cjwatson