version 1.1.2.5, 2014/01/27 22:10:22
|
version 1.1.2.6, 2014/01/27 22:19:40
|
Line 30 case "$1" in
|
Line 30 case "$1" in
|
dd of=${CFG_NAND_MAP} bs=${CFG_NAND_SIZE} count=1 conv=sync \ |
dd of=${CFG_NAND_MAP} bs=${CFG_NAND_SIZE} count=1 conv=sync \ |
2>&- || exit 1 |
2>&- || exit 1 |
;; |
;; |
|
erase) |
|
dd if=/dev/zero of=${CFG_NAND_MAP} bs=${CFG_NAND_SIZE} count=1 \ |
|
conv=sync 2>&- || exit 1 |
|
echo "Config NAND was erased!" |
|
;; |
*) |
*) |
echo "Missing parameter - available options are (load | save)" | echo "Missing parameter - available options are (load | save | erase)" |
;; |
;; |
esac |
esac |
|
|