xref: /freebsd/usr.sbin/bsdconfig/datetime/INDEX (revision 8cfe06ee4415795cc77934fb5c17bdf2c2fd3816)
1*8cfe06eeSDevin Teske# Copyright (c) 2026 Devin Teske
2*8cfe06eeSDevin Teske# All rights reserved.
3*8cfe06eeSDevin Teske#
4*8cfe06eeSDevin Teske# Redistribution and use in source and binary forms, with or without
5*8cfe06eeSDevin Teske# modification, are permitted provided that the following conditions
6*8cfe06eeSDevin Teske# are met:
7*8cfe06eeSDevin Teske# 1. Redistributions of source code must retain the above copyright
8*8cfe06eeSDevin Teske#    notice, this list of conditions and the following disclaimer.
9*8cfe06eeSDevin Teske# 2. Redistributions in binary form must reproduce the above copyright
10*8cfe06eeSDevin Teske#    notice, this list of conditions and the following disclaimer in the
11*8cfe06eeSDevin Teske#    documentation and/or other materials provided with the distribution.
12*8cfe06eeSDevin Teske#
13*8cfe06eeSDevin Teske# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14*8cfe06eeSDevin Teske# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15*8cfe06eeSDevin Teske# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16*8cfe06eeSDevin Teske# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17*8cfe06eeSDevin Teske# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18*8cfe06eeSDevin Teske# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19*8cfe06eeSDevin Teske# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20*8cfe06eeSDevin Teske# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21*8cfe06eeSDevin Teske# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22*8cfe06eeSDevin Teske# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23*8cfe06eeSDevin Teske# SUCH DAMAGE.
24*8cfe06eeSDevin Teske#
25*8cfe06eeSDevin Teske
26*8cfe06eeSDevin Teske#
27*8cfe06eeSDevin Teske# Title that will be shown in the bsdconfig menu.
28*8cfe06eeSDevin Teske#
29*8cfe06eeSDevin Teskemenu_title="Date / Time"
30*8cfe06eeSDevin Teske
31*8cfe06eeSDevin Teske#
32*8cfe06eeSDevin Teske# A short descriptive line shown at the bottom of the bsdconfig menu. keep it
33*8cfe06eeSDevin Teske# short because any line longer than the terminal width will be truncated.
34*8cfe06eeSDevin Teske#
35*8cfe06eeSDevin Teskemenu_help="Set the system date and/or time"
36*8cfe06eeSDevin Teske
37*8cfe06eeSDevin Teske#
38*8cfe06eeSDevin Teske# Two-part variable that defines an action to take when `keyword' is passed on
39*8cfe06eeSDevin Teske# a bsdconfig command line. Variable takes the form "keyword|command" and
40*8cfe06eeSDevin Teske# multiple occurrences of the variable (with different `keyword's, or different
41*8cfe06eeSDevin Teske# `keyword's AND `command's) are allowed.  If `command' begins with a '/' then
42*8cfe06eeSDevin Teske# the full path to the program is needed. If `command' begins with anything
43*8cfe06eeSDevin Teske# else it is a path relative to the directory this INDEX file is in. `keyword'
44*8cfe06eeSDevin Teske# can be i18n'ed but `command' is the name of a script.
45*8cfe06eeSDevin Teske#
46*8cfe06eeSDevin Teskemenu_selection="datetime|datetime"
47*8cfe06eeSDevin Teskemenu_selection="date|date"
48*8cfe06eeSDevin Teskemenu_selection="time|time"
49*8cfe06eeSDevin Teske
50*8cfe06eeSDevin Teske#
51*8cfe06eeSDevin Teske# ------------ Items below this line do NOT need i18n translation ------------
52*8cfe06eeSDevin Teske#
53*8cfe06eeSDevin Teske# Name of the program to be run when this menu choice is selected. If it begins
54*8cfe06eeSDevin Teske# with a '/' then the full path to the program is needed. If it begins with
55*8cfe06eeSDevin Teske# anything else it is a path relative to the directory this INDEX file is in.
56*8cfe06eeSDevin Teske#
57*8cfe06eeSDevin Teskemenu_program="datetime"
58