summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.y
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-06-29 07:19:19 +0000
committerdg <dg@FreeBSD.org>1995-06-29 07:19:19 +0000
commitaf6f51995f3d342fd87ed31ea8750196ef87080c (patch)
tree4f9f4dc9b3680657f8968565f3af701ada29d9c6 /usr.sbin/config/config.y
parent3d799ae7f8ef311d5648a2ad8534fd7a2a662bbc (diff)
downloadFreeBSD-src-af6f51995f3d342fd87ed31ea8750196ef87080c.zip
FreeBSD-src-af6f51995f3d342fd87ed31ea8750196ef87080c.tar.gz
Killed TIMEZONE, DST, and HZ keywords. They have generated a config error
for more than a year now. They've been replaced with userland methods for changing (see adjkerntz).
Diffstat (limited to 'usr.sbin/config/config.y')
-rw-r--r--usr.sbin/config/config.y41
1 files changed, 0 insertions, 41 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index fb3ede0..221e388 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -20,11 +20,9 @@
%token DISK
%token DRIVE
%token DRQ
-%token DST
%token DUMPS
%token EQUALS
%token FLAGS
-%token HZ
%token IDENT
%token INTERLEAVE
%token IOMEM
@@ -51,7 +49,6 @@
%token SLAVE
%token SWAP
%token TARGET
-%token TIMEZONE
%token TTY
%token TRACE
%token UNIT
@@ -198,32 +195,6 @@ Config_spec:
= { ident = ns($2); } |
System_spec
|
- HZ NUMBER
- = { yyerror("HZ specification obsolete; delete"); } |
- TIMEZONE NUMBER
- = { zone = 60 * $2; check_tz(); } |
- TIMEZONE NUMBER DST NUMBER
- = { zone = 60 * $2; dst = $4; check_tz(); } |
- TIMEZONE NUMBER DST
- = { zone = 60 * $2; dst = 1; check_tz(); } |
- TIMEZONE FPNUMBER
- = { zone = $2; check_tz(); } |
- TIMEZONE FPNUMBER DST NUMBER
- = { zone = $2; dst = $4; check_tz(); } |
- TIMEZONE FPNUMBER DST
- = { zone = $2; dst = 1; check_tz(); } |
- TIMEZONE MINUS NUMBER
- = { zone = -60 * $3; check_tz(); } |
- TIMEZONE MINUS NUMBER DST NUMBER
- = { zone = -60 * $3; dst = $5; check_tz(); } |
- TIMEZONE MINUS NUMBER DST
- = { zone = -60 * $3; dst = 1; check_tz(); } |
- TIMEZONE MINUS FPNUMBER
- = { zone = -$3; check_tz(); } |
- TIMEZONE MINUS FPNUMBER DST NUMBER
- = { zone = -$3; dst = $5; check_tz(); } |
- TIMEZONE MINUS FPNUMBER DST
- = { zone = -$3; dst = 1; check_tz(); } |
MAXUSERS NUMBER
= { maxusers = $2; };
@@ -969,18 +940,6 @@ check_nexus(dev, num)
}
/*
- * Check the timezone to make certain it is sensible
- */
-
-check_tz()
-{
- if (zone != 0 || dst != 0)
- yyerror("timezone specification is no longer permitted");
- else
- hadtz = 1;
-}
-
-/*
* Check system specification and apply defaulting
* rules on root, argument, dump, and swap devices.
*/
OpenPOWER on IntegriCloud