X-Git-Url: http://popeye.lapinbilly.eu/git/?p=fbsd-stable-mgmt.git;a=blobdiff_plain;f=update_stage0.sh;fp=update_stage0.sh;h=bc10a0fa116ef13eff982d95b2861122cb34cdb4;hp=31edbce9a77de1551d279bd30b630334ee1c3a33;hb=76c37ca965d721fc358b4b911e97bd2bb82f6f52;hpb=bfdb9e2902824daac3bb23631b2f254303f7cabb diff --git a/update_stage0.sh b/update_stage0.sh index 31edbce..bc10a0f 100755 --- a/update_stage0.sh +++ b/update_stage0.sh @@ -31,22 +31,17 @@ parse() { ;; esac ;; + *) + usage;; esac done } jarg=`sysctl -n hw.ncpu` - - usrsrc=${USRSRC:-/usr/src} -if [ $? -ne 0 ] -then - usage -else - parse ${*} -fi +parse ${*} if [ ${UPDATE:=-0} -eq 1 ]; then echo "updating ..."