ROOT/root/.bashrc
changeset 1 8ff135ba3a93
child 6 10f684acb314
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ROOT/root/.bashrc	Fri Jan 27 13:33:43 2012 +0100
@@ -0,0 +1,9 @@
+function ro() { mount -o remount,ro /; }
+function rw() {
+        mount -o remount,rw /
+        test "$#" = 0 && return;
+        "$@"
+        rc=$?
+        ro
+        return $rc
+}