Changeset 7f0f5cc in freewrt


Ignore:
Timestamp:
Jun 28, 2007, 6:45:55 PM (18 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
f2e3cc54
Parents:
05ccf23
Message:
  • bugfix
  • use echo, not mprint, I don't understand it, there's no docs, and echo works
  • typo

git-svn-id: svn://www.freewrt.org/trunk/freewrt@3011 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/fwifupdown/files/ifupdown.sh

    r05ccf23 r7f0f5cc  
    4747while sleep 1; do
    4848        if test $j -gt 15; then
    49                 mprint -s "bridge initialisation timed out"
     49                echo "bridge initialisation timed out"
    5050                rv=1
    5151                break
     
    5454                # any bridges to check?
    5555                test -e "$x" || break 2         # no -> out of both loops
    56                 # print initialisatio message, but once only
    57                 test $i = 1 || mprint -n \
     56                # print initialisation message, but once only
     57                test $i = 1 || echo \
    5858                    "Waiting for bridge initialisation to finish"
    5959                i=1
     
    7070                rm -f $x                # this bridge done, check next ones
    7171        done
    72         j=$(eval $j + 1)
     72        j=$(expr $j + 1)
    7373done
    74 test $i = 0 || mprint -s done, took $j seconds
     74test $i = 0 || echo done, took $j seconds
    7575
    7676mstate $rv
Note: See TracChangeset for help on using the changeset viewer.