Lines Matching +full:free +full:- +full:running
4 # SPDX-License-Identifier: BSD-2-Clause
29 # Test scenario from D17599 "Fix for double free when deleting entries from
37 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
38 if=`ifconfig | grep -w mtu | grep -v RUNNING | sed 's/:.*//' | head -1`
39 [ -z "$if" ] &&
41 awk '/^[a-z].*: / {gsub(":", ""); ifn = $1}; /no car/{print ifn; exit}'`
43 [ -z "$if" ] && exit 0
45 ifconfig $if | grep -q RUNNING && running=1
48 rm -f $sync
51 while [ ! -f $sync ]; do
54 while [ -f $sync ]; do
63 rm -f $sync
65 [ $running ] || ifconfig $if down