diff options
Diffstat (limited to 'misc/maintenance')
-rwxr-xr-x | misc/maintenance | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/maintenance b/misc/maintenance new file mode 100755 index 000000000..5df728d5e --- /dev/null +++ b/misc/maintenance @@ -0,0 +1,7 @@ +#!/bin/sh +echo "$PS1" > /tmp/ps1.old +echo "Entering System Maintenance Mode ..." +mount -o remount,rw / && PS1="SYSTEM MAINTENANCE #>" ash +echo -n "Leaving System Maintenance Mode ..." +mount -o remount,ro / && echo "DONE" + |