#!/bin/sh

# chkconfig: 345 45 96
# processname: netbase
# pidfile: /var/run/netbase.pid
# lockfile: /var/lock/subsys/pcmcia

# rc.netbase 1.27 1999/09/27 16:45:01 (David Hinds)
# adapted to start pcmcia by Jamey Hicks

usage()
{
    echo "Usage: $0 {start|stop|status}"
}

for x in "1" ; do

    if [ $# -lt 1 ] ; then usage ; break ; fi
    action=$1

    case "$action" in

    start)
	ifconfig lo up 127.0.0.1
	;;

    stop)
	;;

    status)
	ifconfig lo
	;;

    *)
	usage
	;;

    esac

done

# Only exit if we're in our own subshell
if [ "${0##*/}" = "netbase" ] ; then
    exit $EXITCODE
fi
