Changeset 7929
- Timestamp:
- 02/22/07 15:34:23 (1 year ago)
- Files:
-
- trunk/bootscripts/ChangeLog (modified) (1 diff)
- trunk/bootscripts/lfs/init.d/functions (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bootscripts/ChangeLog
r7928 r7929 1 2007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org> 2 * lfs/init.d/functions: Use arithmetic expansion and string length, 3 which are both mandated by POSIX, rather than spawning two processes 4 every time boot_mesg() is called. 5 1 6 2007-02-22 Dan Nicholson <dnicholson@linuxfromscratch.org> 2 7 * lfs/init.d/functions: In order to provide an `echo' which provides trunk/bootscripts/lfs/init.d/functions
r7928 r7929 111 111 112 112 ## Figure out the length of what is to be printed to be used 113 ## for warning messges. 114 STRING_LENGTH="`echo "${1}" | sed \ 115 -e 's,.,.,g' -e 'l 1' | grep -c \$`" 113 ## for warning messages. 114 STRING_LENGTH=$((${#1} + 1)) 116 115 117 116 # Print the message to the screen
