Changeset 265 for freebsd-mgnt/system-update.sh
- Timestamp:
- Jan 9, 2011, 9:17:15 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freebsd-mgnt/system-update.sh
r193 r265 1 1 #!/bin/sh 2 # FreeBSD system upgade script2 # FreeBSD system port upgrade script 3 3 # 4 4 # Licence: BSDLike - http://rickvanderzwet.nl/LICENSE … … 7 7 . /etc/rc.subr 8 8 9 # Pointers to avoid confusion co rrespontswith logical boolean style values.10 # WARNING do not co npare with exit codes!9 # Pointers to avoid confusion co-respond with logical boolean style values. 10 # WARNING do not compare with exit codes! 11 11 FALSE=0 12 12 TRUE=1 … … 30 30 } 31 31 32 32 33 # 33 34 # SuperCow power only … … 37 38 fi 38 39 40 # Make sure we always using the latest version 41 CHANGES=`svn up --non-interactive $(dirname $0) | wc -l` 42 if [ $CHANGES -gt 1 ]; then 43 sh $0 44 exit 0 45 fi 39 46 40 47 #
Note:
See TracChangeset
for help on using the changeset viewer.