summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>1999-12-13 23:21:00 +0000
committerMike Fulbright <msf@redhat.com>1999-12-13 23:21:00 +0000
commite5266191d241e667faf1047eaaf5f3b2506374cb (patch)
tree0e774e4fd7c185a99b7c13eb6e5a5a504c27cc98
parent8a0ae8cc28080d1d18ee556d23e3110f21d05866 (diff)
downloadanaconda-e5266191d241e667faf1047eaaf5f3b2506374cb.tar.gz
anaconda-e5266191d241e667faf1047eaaf5f3b2506374cb.tar.xz
anaconda-e5266191d241e667faf1047eaaf5f3b2506374cb.zip
Added check for 'reconfig' on kernel command line, indicating we want
to reconfigure the system. Dr Mike
-rwxr-xr-xreconfig.init6
1 files changed, 4 insertions, 2 deletions
diff --git a/reconfig.init b/reconfig.init
index becae6ce2..2998b686f 100755
--- a/reconfig.init
+++ b/reconfig.init
@@ -5,7 +5,9 @@
# chkconfig: 345 05 95
# description: If /etc/reconfigSys exists, run the reconfiguration
# program and remove /etc/reconfigSys when done.
-
+#
+# Also will run if 'reconfig' is on the kernel cmdline.
+#
# Source function library.
. /etc/rc.d/init.d/functions
@@ -13,7 +15,7 @@ RETVAL=$?
case "$1" in
start)
- if [ -f /etc/reconfigSys ]; then
+ if grep -i reconfig /proc/cmdline >/dev/null || [ -f /etc/reconfigSys ]; then
echo -n "Running system reconfiguration tool"
/usr/sbin/anaconda --reconfig
rm /etc/reconfigSys