zones.subr (32531ccb845a25e840eadd9f83edf260ed95db88) zones.subr (56961fd7949de755f95a60fe8ac936f81e953f5b)
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:

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

25# SUCH DAMAGE.
26#
27# $FreeBSD$
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
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:

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

25# SUCH DAMAGE.
26#
27# $FreeBSD$
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." timezone/zones.subr
33f_include $BSDCFG_SHARE/dialog.subr
34f_include $BSDCFG_SHARE/timezone/continents.subr
35
36BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="090.timezone"
37f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
38
39############################################################ CONFIGURATION
40

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

662# Resets to the UTC timezone.
663#
664f_set_zone_utc()
665{
666 f_confirm_zone "" || return $FAILURE
667 f_install_zoneinfo_file ""
668}
669
34f_include $BSDCFG_SHARE/dialog.subr
35f_include $BSDCFG_SHARE/timezone/continents.subr
36
37BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="090.timezone"
38f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
39
40############################################################ CONFIGURATION
41

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

663# Resets to the UTC timezone.
664#
665f_set_zone_utc()
666{
667 f_confirm_zone "" || return $FAILURE
668 f_install_zoneinfo_file ""
669}
670
671############################################################ MAIN
672
673f_dprintf "%s: Successfully loaded." timezone/zones.subr
674
670fi # ! $_TIMEZONE_ZONES_SUBR
675fi # ! $_TIMEZONE_ZONES_SUBR