Changeset 8167
- Timestamp:
- 06/16/07 14:47:37 (1 year ago)
- Files:
-
- trunk/bootscripts/ChangeLog (modified) (1 diff)
- trunk/bootscripts/lfs/init.d/modules (modified) (1 diff)
- trunk/bootscripts/lfs/init.d/mountfs (modified) (3 diffs)
- trunk/bootscripts/lfs/init.d/mountkernfs (modified) (1 diff)
- trunk/bootscripts/lfs/init.d/setclock (modified) (2 diffs)
- trunk/bootscripts/lfs/sysconfig/network-devices/ifdown (modified) (1 diff)
- trunk/bootscripts/lfs/sysconfig/network-devices/ifup (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bootscripts/ChangeLog
r8109 r8167 1 2007-06-16 Dan Nicholson <dnicholson@linuxfromscratch.org> 2 * lfs/init.d/mountfs, lfs/init.d/mountkernfs, lfs/init.d/setclock, 3 lfs/init.d/modules, lfs/sysconfig/network-devices/if{up,down}: 4 Don't suppress stderr during bootscripts unless necessary. This 5 would prevent potentially critical messages from reaching the screen. 6 1 7 2007-04-24 Dan Nicholson <dnicholson@linuxfromscratch.org> 2 8 * lfs/init.d/functions: When killproc is executed, it checks that trunk/bootscripts/lfs/init.d/modules
r6763 r8167 55 55 # Attempt to load the module, making 56 56 # sure to pass any arguments provided. 57 modprobe ${module} ${args} 2>&1> /dev/null57 modprobe ${module} ${args} > /dev/null 58 58 59 59 # Print the module name if successful, trunk/bootscripts/lfs/init.d/mountfs
r7931 r8167 19 19 start) 20 20 boot_mesg "Remounting root file system in read-write mode..." 21 mount -n -o remount,rw / >/dev/null 2>&121 mount -n -o remount,rw / >/dev/null 22 22 evaluate_retval 23 23 … … 36 36 # their option list. _netdev denotes a network filesystem. 37 37 boot_mesg "Mounting remaining file systems..." 38 mount -a -O no_netdev >/dev/null 2>&138 mount -a -O no_netdev >/dev/null 39 39 evaluate_retval 40 40 ;; … … 42 42 stop) 43 43 boot_mesg "Unmounting all other currently mounted file systems..." 44 umount -a -d -r >/dev/null 2>&144 umount -a -d -r >/dev/null 45 45 evaluate_retval 46 46 ;; trunk/bootscripts/lfs/init.d/mountkernfs
r7931 r8167 20 20 boot_mesg -n "Mounting kernel-based file systems:" ${INFO} 21 21 22 if ! mountpoint /proc >/dev/null 2>&1; then22 if ! mountpoint /proc >/dev/null; then 23 23 boot_mesg -n " /proc" ${NORMAL} 24 24 mount -n /proc || failed=1 25 25 fi 26 26 27 if ! mountpoint /sys >/dev/null 2>&1; then27 if ! mountpoint /sys >/dev/null; then 28 28 boot_mesg -n " /sys" ${NORMAL} 29 29 mount -n /sys || failed=1 trunk/bootscripts/lfs/init.d/setclock
r7931 r8167 33 33 start) 34 34 boot_mesg "Setting system clock..." 35 hwclock --hctosys ${CLOCKPARAMS} >/dev/null 2>&135 hwclock --hctosys ${CLOCKPARAMS} >/dev/null 36 36 evaluate_retval 37 37 ;; … … 39 39 stop) 40 40 boot_mesg "Setting hardware clock..." 41 hwclock --systohc ${CLOCKPARAMS} >/dev/null 2>&141 hwclock --systohc ${CLOCKPARAMS} >/dev/null 42 42 evaluate_retval 43 43 ;; trunk/bootscripts/lfs/sysconfig/network-devices/ifdown
r4828 r8167 83 83 84 84 if [ -z "${2}" ]; then 85 link_status=`ip link show $1 2> /dev/null`85 link_status=`ip link show $1` 86 86 if [ -n "${link_status}" ]; then 87 87 if echo "${link_status}" | grep -q UP; then trunk/bootscripts/lfs/sysconfig/network-devices/ifup
r4831 r8167 64 64 if [ -z "${CHECK_LINK}" -o "${CHECK_LINK}" = "y" -o "${CHECK_LINK}" = "yes" -o "${CHECK_LINK}" = "1" ]; then 65 65 if ip link show ${1} > /dev/null 2>&1; then 66 link_status=`ip link show ${1} 2> /dev/null`66 link_status=`ip link show ${1}` 67 67 if [ -n "${link_status}" ]; then 68 68 if ! echo "${link_status}" | grep -q UP; then
