summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2013-01-22 15:03:09 +0100
committerMartin Sivak <msivak@redhat.com>2013-01-22 16:14:39 +0100
commit3628ef84d6bad95497d4f728faecb11a2fd21cff (patch)
treeeb914cf7dbab27f93ca318992319e7a9385b0529 /scripts
parente5550843a076bc4d97afe23b4a1361293bc9964c (diff)
downloadfirstboot2-3628ef84d6bad95497d4f728faecb11a2fd21cff.tar.gz
firstboot2-3628ef84d6bad95497d4f728faecb11a2fd21cff.tar.xz
firstboot2-3628ef84d6bad95497d4f728faecb11a2fd21cff.zip
More fixes for package review and s390 variable rename (typo)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/initial-setup.csh2
-rw-r--r--scripts/initial-setup.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/initial-setup.csh b/scripts/initial-setup.csh
index 8ea1975..9934bdf 100644
--- a/scripts/initial-setup.csh
+++ b/scripts/initial-setup.csh
@@ -4,7 +4,7 @@ set IS_EXEC = /usr/sbin/initial-setup
set IS_CONF = /etc/sysconfig/initial-setup
# check if we should run firstboot
-grep -i "RUN_INITAL_SETUP=NO" $IS_CONF >/dev/null
+grep -i "RUN_INITIAL_SETUP=NO" $IS_CONF >/dev/null
if (( $? != 0 ) && ( -x $IS_EXEC )) then
# check if we're not on 3270 terminal and root
if (( `/sbin/consoletype` == "pty" ) && ( `/usr/bin/id -u` == 0 )) then
diff --git a/scripts/initial-setup.sh b/scripts/initial-setup.sh
index 511e70c..18a2028 100644
--- a/scripts/initial-setup.sh
+++ b/scripts/initial-setup.sh
@@ -7,7 +7,7 @@ IS_CONF=/etc/sysconfig/initial-setup
[ -f $IS_CONF ] && . $IS_CONF
# check if we should run firstboot
-if [ -f $IS_EXEC ] && [ "${RUN_INITAL_SETUP,,}" = "yes" ]; then
+if [ -f $IS_EXEC ] && [ "${RUN_INITIAL_SETUP,,}" = "yes" ]; then
# check if we're not on 3270 terminal and root
if [ $(/sbin/consoletype) = "pty" ] && [ $EUID -eq 0 ]; then
args=""