default language changed to english

cbox-manage: action "clean" added (for development only)
This commit is contained in:
lars 2005-09-22 01:18:45 +00:00
parent 77b781420d
commit 46f5e7658d
2 changed files with 11 additions and 1 deletions

View File

@ -439,6 +439,15 @@ case "$ACTION" in
log_msg "Rebooting the CryptoBox ..."
echo "reboot" | at now
;;
clean )
# only for development
log_msg "Cleaning the CryptoBox ..."
device=$(find_harddisk)
$0 crypto-down
$0 config-down
# TODO: test this!
echo -e ";\n;\n;\n;\n" | $SFDISK "$device"
;;
* )
echo "Syntax: `basename $0` ACTION [PARAMS]"
echo " config-up - scan for configuration partition and mount it"
@ -462,6 +471,7 @@ case "$ACTION" in
echo " get_config NAME - retrieve a configuration setting"
echo " diskinfo - show the partition table of the harddisk"
echo " poweroff - shutdown the cryptobox"
echo " clean - remove all partitions [only for development]"
echo " reboot - reboot the cryptobox"
echo
;;