From c0b4b19486aaa6e277c3344c40419225e085bd69 Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Tue, 11 Aug 2009 08:04:52 -0400 Subject: Everyone use i/o functions from globals/hooks Signed-off-by: Jim Pryor --- src-wireless/net-auto | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src-wireless/net-auto') diff --git a/src-wireless/net-auto b/src-wireless/net-auto index 8b724a5..3f74ffc 100644 --- a/src-wireless/net-auto +++ b/src-wireless/net-auto @@ -1,7 +1,6 @@ #!/bin/bash -. /etc/rc.conf -. /etc/rc.d/functions +. /usr/lib/network/globals case "$1" in start) @@ -36,7 +35,7 @@ case "$1" in $0 stop; sleep 1; $0 start ;; *) - echo "usage: $0 {start|stop|restart}" + exit_stderr "Usage: $0 {start|stop|restart}" esac # vim: set ts=4 et sw=4: -- cgit v1.2.3-24-g4f1b