1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
suyuan 2023-11-16 12:35:48 +08:00 committed by GitHub
commit afa95fc45c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 32 additions and 30 deletions

View file

@ -898,11 +898,11 @@ if [ "$OMR_TRACKER_STATUS" = "ERROR" ] || [ "$interface_up" != "true" ]; then
#ubus call network reload
# Set a little sleep after an interface error
if [ -n "$RANDOM" ]; then
sleep `expr $RANDOM % 100`
else
sleep `awk 'BEGIN{srand();print int(rand()*20)}'`
fi
# if [ -n "$RANDOM" ]; then
# sleep `expr $RANDOM % 100`
# else
# sleep `awk 'BEGIN{srand();print int(rand()*20)}'`
# fi
exit 0
fi