Lines Matching refs:CACHE_FILE
39 #CACHE_FILE=/usr/local/samba/var/wins_update.cache
74 if [ -n "$CACHE_FILE" ]; then
75 if [ -r "$CACHE_FILE" ]; then
76 fgrep -q -x -i "$NAME $IP_ADDRS" "$CACHE_FILE" &&
78 grep -v -i "^$NAME " "$CACHE_FILE" >"$CACHE_FILE".$$
80 echo "$NAME $IP_ADDRS" >>"$CACHE_FILE".$$
81 mv "$CACHE_FILE" "$CACHE_FILE".old 2>/dev/null
82 mv "$CACHE_FILE".$$ "$CACHE_FILE"