Changeset 331


Ignore:
Timestamp:
Feb 15, 2012, 9:59:52 PM (8 years ago)
Author:
amain
Message:

boot: wait 30 seconds for a block device to appear

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/files/package/base-files/files/etc/preinit

    r329 r331  
    1010#set -x
    1111
     12WAIT=30
     13ROOT_LABEL=DEBWRT_ROOT
     14DEFAULT_DEV=/dev/sda1
     15
    1216mount -t sysfs sysfs /sys
    1317mount -t proc  none  /proc
     
    1721/sbin/hotplug2 --set-worker /lib/hotplug2/worker_fork.so --set-rules-file /etc/hotplug2-init.rules --no-persistent --set-coldplug-cmd /sbin/udevtrigger
    1822/sbin/hotplug2 --set-worker /lib/hotplug2/worker_fork.so --set-rules-file /etc/hotplug2-init.rules --persistent &
    19 
    20 WAIT=10
    21 ROOT_LABEL=DEBWRT_ROOT
    22 DEFAULT_DEV=/dev/sda1
    2323
    2424wait_for_root_device() { # return: (default) root device
Note: See TracChangeset for help on using the changeset viewer.