linux:restore_menu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
restore_menu [2012/01/24 09:46] – dodger | linux:restore_menu [2018/04/17 09:08] – dodger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== [SCRIPT] RestoreMenu ====== | ||
+ | |||
====== Descripcion ====== | ====== Descripcion ====== | ||
Ver el post del blog: http:// | Ver el post del blog: http:// | ||
Line 30: | Line 32: | ||
==== Codigo ==== | ==== Codigo ==== | ||
<file bash restore_menu.sh> | <file bash restore_menu.sh> | ||
+ | #!/bin/bash | ||
+ | |||
# Coded by dodger | # Coded by dodger | ||
# More information on | # More information on | ||
Line 35: | Line 39: | ||
- | |||
- | #!/bin/bash | ||
SNAPSHOTDIR=/ | SNAPSHOTDIR=/ | ||
WINDOWSDEV=/ | WINDOWSDEV=/ | ||
Line 80: | Line 82: | ||
################################################## | ################################################## | ||
EOF | EOF | ||
- | while [[ ! $OPTION =~ ^([1-4]|99)$ ]] | + | while [[ ! $OPTION =~ ^([1-5]|99)$ ]] |
do | do | ||
[ ${OPTION: | [ ${OPTION: |
linux/restore_menu.txt · Last modified: 2024/03/25 07:55 by dodger