Talk:UBoot-Installer
From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 20:38, 14 November 2006 by 85.124.221.56 (Talk)
/usr/sbin/mount_disk
#! /bin/sh echo -n "Mounting system (/dev/hda1) + data partition (/dev/hda3)" echo -n "of the internal HDD to /mnt/" mkdir /mnt/hda1 mkdir /mnt/hda3 mount -t vfat,ext3,ext2 /dev/hda1 /mnt/hda1 mount -t vfat,ext3,ext2 /dev/hda3 /mnt/hda3 exit 0
/etc/init.d/uboot_installer
# !/bin/sh # mount the hdd-partitions /usr/sbin/mount_disk # check if hdd really was successfully mounted # if yes proceed, if no stop >> TO BE DONE # check which box this script is running on >> just 4 safety - the firmware updater itself takes care about that # check if a valid all-flash-file is available at the correct position on the hdd. >> TO BE DONE # flash the all-flash-file to the complete flash-device >> TO BE DONE # maybe do some post-flashing checks before rebooting automatically and do not reboot if # anything goes wrong so debugging + fixing it via telnet is possible >> TO BE DONE # automatically reboot reboot

