Changeset 3489


Ignore:
Timestamp:
2006-03-26T13:25:14+02:00 (12 years ago)
Author:
mbm
Message:

sanity check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/whiterussian/openwrt/package/base-files/default/bin/firstboot

    r3354 r3489  
    5454} 
    5555 
     56[ -z "$rom" ] && { 
     57        echo "You do not have a squashfs partition; aborting" 
     58        echo "(firstboot cannot be run on jffs2 based firmwares)" 
     59        exit 1 
     60} 
     61 
    5662[ "$1" = "switch2jffs" ] && { 
    5763        #2nd stage 
     
    7177 
    7278# script run manually 
    73 [ -z "$rom" ] && { 
    74         echo "You do not have a squashfs partition; aborting" 
    75         echo "(firstboot cannot be run on jffs2 based firmwares)" 
    76         exit 1 
    77 } 
    78  
    7979[ \! -z "$jffs" ] && { 
    8080        echo "firstboot has already been run" 
Note: See TracChangeset for help on using the changeset viewer.