Ignore:
Timestamp:
2010-05-12T23:19:51+02:00 (6 years ago)
Author:
craigc
Message:

[packages] multiwan: Changed sed to simply remove the last digit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/multiwan/files/usr/bin/multiwan

    r21431 r21433  
    706706roundlen=`expr length $rand_probability - 1` 
    707707roundme=${rand_probability:$roundlen} 
    708 rand_probability=$(echo $rand_probability | sed s/$roundme//) 
     708rand_probability=$(echo $rand_probability | sed 's/\(..\)\(.\)/\1/g') 
    709709         
    710710        if [ $roundme -ge 5 ]; then 
Note: See TracChangeset for help on using the changeset viewer.