Print this page
4337 eliminate /etc/TIMEZONE
*** 18,27 ****
--- 18,28 ----
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
+ # Copyright 2014 Garrett D'Amore
#
#
# This script provides a simple GUI for managing labeled zones.
# It provides contextual menus which provide appropriate choices.
*** 442,452 ****
locale=$(locale|grep LANG | cut -d "=" -f2)
if [[ -z $locale ]] ; then
locale="C"
fi
print "system_locale=$locale" >> ${SYSIDCFG}
! timezone=$(grep "^TZ" /etc/TIMEZONE|cut -d "=" -f2)
print "timezone=$timezone" >> ${SYSIDCFG}
print "terminal=vt100" >> ${SYSIDCFG}
rootpwd=$(grep "^root:" /etc/shadow|cut -d : -f2)
# There are two problems with setting the root password:
--- 443,453 ----
locale=$(locale|grep LANG | cut -d "=" -f2)
if [[ -z $locale ]] ; then
locale="C"
fi
print "system_locale=$locale" >> ${SYSIDCFG}
! timezone=$(grep "^TZ" /etc/default/init|cut -d "=" -f2)
print "timezone=$timezone" >> ${SYSIDCFG}
print "terminal=vt100" >> ${SYSIDCFG}
rootpwd=$(grep "^root:" /etc/shadow|cut -d : -f2)
# There are two problems with setting the root password: