firstboot: never mind, found it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  just noticed the check for kernel parameters in the firstboot
script:

 if grep -i reconfig /proc/cmdline >/dev/null || [ -f /etc/reconfigSys
]; then
            action=reconfig
        fi

now it makes sense.

  by the way, the comments at the top of the
/etc/rc.d/init.d/firstboot script are a bit misleading:

"Firstboot is a druid style program that runs on the first time a
machine is booted after install.  It checks for the existence of
an /etc/sysconfig/firstboot file.  If it doesn't find the file,
then the firstboot program needs to run.  If it finds the file,
firstboot will not be run."

  it certainly seems that that last part is not true.  if
/etc/sysconfig/firstboot is found, then it is further *consulted* for
the value of the variable RUN_FIRSTBOOT.  so that comment is overly
simplistic, no?

rday


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux