Deleted Added
full compact
etcupdate.sh (281887) etcupdate.sh (296204)
1#!/bin/sh
2#
3# Copyright (c) 2010-2013 Hudson River Trading LLC
4# Written by: John H. Baldwin <jhb@FreeBSD.org>
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26# SUCH DAMAGE.
27#
1#!/bin/sh
2#
3# Copyright (c) 2010-2013 Hudson River Trading LLC
4# Written by: John H. Baldwin <jhb@FreeBSD.org>
5# All rights reserved.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26# SUCH DAMAGE.
27#
28# $FreeBSD: head/usr.sbin/etcupdate/etcupdate.sh 281887 2015-04-23 14:22:20Z jhb $
28# $FreeBSD: head/usr.sbin/etcupdate/etcupdate.sh 296204 2016-02-29 17:24:34Z trasz $
29
30# This is a tool to manage updating files that are not updated as part
31# of 'make installworld' such as files in /etc. Unlike other tools,
32# this one is specifically tailored to assisting with mass upgrades.
33# To that end it does not require user intervention while running.
34#
35# Theory of operation:
36#

--- 473 unchanged lines hidden (view full) ---

510 args=""
511 fi
512 log "tzsetup -r ${args}"
513 if [ -z "$dryrun" ]; then
514 tzsetup -r ${args} >&3 2>&1
515 fi
516 else
517 warn "Needs update: /etc/localtime (required" \
29
30# This is a tool to manage updating files that are not updated as part
31# of 'make installworld' such as files in /etc. Unlike other tools,
32# this one is specifically tailored to assisting with mass upgrades.
33# To that end it does not require user intervention while running.
34#
35# Theory of operation:
36#

--- 473 unchanged lines hidden (view full) ---

510 args=""
511 fi
512 log "tzsetup -r ${args}"
513 if [ -z "$dryrun" ]; then
514 tzsetup -r ${args} >&3 2>&1
515 fi
516 else
517 warn "Needs update: /etc/localtime (required" \
518 "manual update via tzsetup(1))"
518 "manual update via tzsetup(8))"
519 fi
520 fi
521}
522
523# Create missing parent directories of a node in a target tree
524# preserving the owner, group, and permissions from a specified
525# template tree.
526#

--- 1269 unchanged lines hidden ---
519 fi
520 fi
521}
522
523# Create missing parent directories of a node in a target tree
524# preserving the owner, group, and permissions from a specified
525# template tree.
526#

--- 1269 unchanged lines hidden ---