zones.subr (240843) | zones.subr (243476) |
---|---|
1if [ ! "$_TIMEZONE_ZONES_SUBR" ]; then _TIMEZONE_ZONES_SUBR=1 2# 3# Copyright (c) 2011-2012 Devin Teske 4# All Rights Reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# | 1if [ ! "$_TIMEZONE_ZONES_SUBR" ]; then _TIMEZONE_ZONES_SUBR=1 2# 3# Copyright (c) 2011-2012 Devin Teske 4# All Rights Reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# |
27# $FreeBSD: head/usr.sbin/bsdconfig/timezone/share/zones.subr 240843 2012-09-22 22:16:07Z dteske $ | 27# $FreeBSD: head/usr.sbin/bsdconfig/timezone/share/zones.subr 243476 2012-11-24 07:02:31Z dteske $ |
28# 29############################################################ INCLUDES 30 31BSDCFG_SHARE="/usr/share/bsdconfig" 32. $BSDCFG_SHARE/common.subr || exit 1 33f_include $BSDCFG_SHARE/dialog.subr 34f_include $BSDCFG_SHARE/timezone/continents.subr 35 --- 578 unchanged lines hidden (view full) --- 614 cat <<-EOF > "$_PATH_DB" 615 $zoneinfo 616 EOF 617 fi 618 fi 619 620 return $rv 621} | 28# 29############################################################ INCLUDES 30 31BSDCFG_SHARE="/usr/share/bsdconfig" 32. $BSDCFG_SHARE/common.subr || exit 1 33f_include $BSDCFG_SHARE/dialog.subr 34f_include $BSDCFG_SHARE/timezone/continents.subr 35 --- 578 unchanged lines hidden (view full) --- 614 cat <<-EOF > "$_PATH_DB" 615 $zoneinfo 616 EOF 617 fi 618 fi 619 620 return $rv 621} |
622 | 622 |
623# f_confirm_zone $filename 624# 625# Prompt the user to confirm the new timezone data. The first (and only) 626# argument should be the pathname to the zoneinfo file, either absolute or 627# relative to `/usr/share/zoneinfo' (e.g., "America/Los_Angeles"). 628# 629# The return status is 0 if "Yes" is chosen, 1 if "No", and 255 if Esc is 630# pressed (see dialog(1) for additional details). --- 40 unchanged lines hidden --- | 623# f_confirm_zone $filename 624# 625# Prompt the user to confirm the new timezone data. The first (and only) 626# argument should be the pathname to the zoneinfo file, either absolute or 627# relative to `/usr/share/zoneinfo' (e.g., "America/Los_Angeles"). 628# 629# The return status is 0 if "Yes" is chosen, 1 if "No", and 255 if Esc is 630# pressed (see dialog(1) for additional details). --- 40 unchanged lines hidden --- |