projects
/
fbsd-stable-mgmt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Jails management
[fbsd-stable-mgmt.git]
/
update_stage0.sh
diff --git
a/update_stage0.sh
b/update_stage0.sh
index 31edbce9a77de1551d279bd30b630334ee1c3a33..bc10a0fa116ef13eff982d95b2861122cb34cdb4 100755
(executable)
--- 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 ..."