+++ This bug was initially created as a clone of Bug #441511 +++ Splitting out the minor problem so it can be marked closed. Description of problem: Syntax error in /etc/rc.d/init.d/firstboot Version-Release number of selected component (if applicable): rawhide 20080409 firstboot-1.95-3.fc9.i386 How reproducible: 100% -- Additional comment from archimerged on 2008-04-09 19:25 EST -- Created an attachment (id=301907) Patch /etc/rc.d/init.d/firstboot Fix syntax error and update comments in /etc/rc.d/init.d/firstboot. Correct the description in both chkconfig and INIT INFO sections. grep -qs returns 0 (true) if the file exists and the string is present. It returns 1 (false) if the string is absent. It returns 2 (false) if the file is absent. [beta@beta firstboot]$ cat /etc/sysconfig/firstboot RUN_FIRSTBOOT=NO [beta@beta firstboot]$ if grep -qs 'RUN_FIRSTBOOT=NO' /etc/sysconfig/nonexistant-file; then echo true; else echo false; fi false [beta@beta firstboot]$ if grep -qs 'RUN_FIRSTBOOT=NO' /etc/sysconfig/firstboot; then echo true; else echo false; fi true [beta@beta firstboot]$ if grep -qs 'string not present' /etc/sysconfig/firstboot; then echo true; else echo false; fi false
*** This bug has been marked as a duplicate of 441016 ***