Changeset 6c32364 for bootscripts


Ignore:
Timestamp:
Jun 29, 2006, 4:00:45 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
528da83
Parents:
6742797
Message:

r4177@server: jim | 2006-06-29 16:00:12 -0700
Disable interactive Prompts. Added ccheck for /etc/sysconfig/createfiles.

Location:
bootscripts
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/Changelog

    r6742797 r6c32364  
     1jim - June 29, 2006
     2        * Disable interactive Prompts
     3        * Added Check to see if /etc/sysconfig/createfiles is available
     4
    15jim - May 15, 2006
    26        * Hide all the output information from the LCD Program
  • bootscripts/lfs/init.d/cleanfs

    r6742797 r6c32364  
    9696                evaluate_retval
    9797
    98                 if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
    99                         boot_mesg "Creating files and directories..."
    100                         create_files
    101                         evaluate_retval
     98                if [ -e /etc/sysconfig/createfiles ]; then
     99                        if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
     100                                boot_mesg "Creating files and directories..."
     101                                create_files
     102                                evaluate_retval
     103                        fi
    102104                fi
    103105                ;;
  • bootscripts/lfs/init.d/functions

    r6742797 r6c32364  
    1818                source /etc/sysconfig/lcd
    1919        fi
     20fi
     21
     22if [ -e /etc/sysconfig/bootscripts ]; then
     23        source /etc/sysconfig/bootscripts
    2024fi
    2125
     
    196200        boot_mesg " lfs-dev@linuxfromscratch.org.\n"
    197201        boot_mesg_flush
    198         boot_mesg -n "Press Enter to continue..." ${INFO}
    199         boot_mesg "" ${NORMAL}
    200         if [ "$LCD_PROG" ]; then
    201                 sleep 10
    202         else
    203                 read ENTER
     202        if [ "$INTERACTIVE" ]; then
     203                boot_mesg -n "Press Enter to continue..." ${INFO}
     204                boot_mesg "" ${NORMAL}
     205                if [ "$LCD_PROG" ]; then
     206                        sleep 10
     207                else
     208                        read ENTER
     209                fi
    204210        fi
    205211}
Note: See TracChangeset for help on using the changeset viewer.