diff options
| -rwxr-xr-x | odroid-install-kernel.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odroid-install-kernel.sh b/odroid-install-kernel.sh index b62e2c0..060152f 100755 --- a/odroid-install-kernel.sh +++ b/odroid-install-kernel.sh | |||
| @@ -7,7 +7,7 @@ LOAD_ADDR=0x40008000 | |||
| 7 | ENTRY_POINT=0x40008000 | 7 | ENTRY_POINT=0x40008000 |
| 8 | 8 | ||
| 9 | # Where the U-Boot partition is mounted. | 9 | # Where the U-Boot partition is mounted. |
| 10 | UBOOT_PATH="/media/boot" | 10 | UBOOT_PATH="/mnt/boot" |
| 11 | set +e | 11 | set +e |
| 12 | grep "$UBOOT_PATH" /etc/mtab > /dev/null | 12 | grep "$UBOOT_PATH" /etc/mtab > /dev/null |
| 13 | if [ 0 -ne $? ] ; then | 13 | if [ 0 -ne $? ] ; then |
| @@ -33,7 +33,7 @@ mkuinitrd | |||
| 33 | copy_to_uboot | 33 | copy_to_uboot |
| 34 | 34 | ||
| 35 | echo "Making LITMUS the default ..." >&2 | 35 | echo "Making LITMUS the default ..." >&2 |
| 36 | mv $UBOOT_PATH/$SCRIPT_FILE $UBOOT_PATH/boot.scr | 36 | sudo mv $UBOOT_PATH/$SCRIPT_FILE $UBOOT_PATH/boot.scr |
| 37 | echo "done." >&2 | 37 | echo "done." >&2 |
| 38 | 38 | ||
| 39 | rm_tmp_files | 39 | rm_tmp_files |
