Lines Matching refs:FreeBSD
4 # Written by: John H. Baldwin <jhb@FreeBSD.org>
28 # $FreeBSD: releng/10.3/usr.sbin/etcupdate/etcupdate.sh 283927 2015-06-02 19:20:39Z jhb $
337 # change in the FreeBSD ID string.
344 diff -qI '\$FreeBSD.*\$' $1 $2 >/dev/null 2>&1
349 # FreeBSD ID string. It only makes this adjustment if the -F flag has
445 diffargs="-I \\\$FreeBSD.*\\\$"
746 # Update the FreeBSD ID string in a locally modified file to match the
747 # FreeBSD ID string from the "new" version of the file.
754 # If the FreeBSD ID string is removed from the local file,
757 # FreeBSD ID string, just punt and let the user handle the
759 new=`grep -c '\$FreeBSD.*\$' ${NEWTREE}$1`
760 dest=`grep -c '\$FreeBSD.*\$' ${DESTDIR}$1`
768 # If the FreeBSD ID string in the new file matches the FreeBSD ID
770 new=`grep '\$FreeBSD.*\$' ${NEWTREE}$1`
771 dest=`grep '\$FreeBSD.*\$' ${DESTDIR}$1`
777 # lines preceding the FreeBSD ID string from the local version
778 # of the file. Second, append the FreeBSD ID string line from
780 # FreeBSD ID string from the local version of the file.
782 awk '/\$FreeBSD.*\$/ { exit } { print }' ${DESTDIR}$1 >> $file
783 awk '/\$FreeBSD.*\$/ { print }' ${NEWTREE}$1 >> $file
784 awk '/\$FreeBSD.*\$/ { ok = 1; next } { if (ok) print }' \
789 # FreeBSD ID string.
954 # is a change in the FreeBSD ID string, then remove the file.
1050 # file is a change in the FreeBSD ID string and -F is
1057 panic "Updating FreeBSD ID string failed"
1063 # in the FreeBSD ID string, then install the new file as well.
1085 # file is a change in the FreeBSD ID string and -F is
1123 # change in the FreeBSD ID string and -F is specified, just
1124 # update the FreeBSD ID string in the local file.
1247 # FreeBSD ID string and -F is specified, just
1255 "Updating FreeBSD ID string failed"
1595 # Ignore changes in the FreeBSD ID string.