#!/bin/sh
# Copyright (C) 2007-8 One Laptop Per Child Association, Inc.
# Licensed under the terms of the GNU GPL v2 or later; see COPYING for details.
# Written by C. Scott Ananian <cscott@laptop.org>
if="$1"
updown="$2"
if [ "$updown" = "up" ]; then
  # sleep about a minute to let interface come all the way up.
  /usr/sbin/olpc-update-query --auto -s 1 &
fi
