Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 13576] Grep is not available during boot

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 13576] Grep is not available during boot
  • Date: 27 Feb 2007 10:11:16 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13576


ruskie+smbugs AT mages.ath.cx changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WONTFIX |




------- Additional Comments From ruskie+smbugs AT mages.ath.cx 2007-02-27 04:11
-------
There are also our init scripts that make use of grep....

Also reopening.

Specificaly some of our functions...
grep -r "grep" /etc/init.d
/etc/init.d/smgl_telinit: if display-services | grep -q "^%$RL" ; then
/etc/init.d/smgl_telinit: if grep -Fq 'ESSENTIAL=yes' "$FILE" ; then
query
"Are you sure you want to disable this ESSENTIAL script?" n || SKIP=yes; fi
/etc/init.d/smgl_telinit: if display-services | grep -q "^%$RL" ; then
/etc/init.d/smgl_telinit: if grep -Fq 'ESSENTIAL=yes' "$FILE" ; then
/etc/init.d/smgl_telinit: if grep -Fq 'ESSENTIAL=yes' "$FILE" ; then
query
"Are you sure you want to disable this ESSENTIAL script?" n || SKIP=yes; fi
/etc/init.d/smgl_telinit: ls -l "$RUNLEVELS_DIR"/*/* | grep -v
runlevel.config$
| grep "^...x..x" | sed -e 's!^.*/!!'
/etc/init.d/smgl_telinit: ls -l "$RUNLEVELS_DIR"/*/* | grep -v
runlevel.config$
| grep -v "^...x..x" | sed -e 's!^.*/!!'
/etc/init.d/smgl_telinit: ls -l "$RUNLEVELS_DIR"/*/* | grep -v
runlevel.config
| sed -e 's!^.*/%\(.*\)/!\1 !'
/etc/init.d/smgl_telinit: if display-services | grep -q "^%$2" && !
display-services | grep -q "^%$OLD_RUNLEVEL"; then
/etc/init.d/smgl_telinit: elif ! display-services | grep -q "^%$2" &&
display-services | grep -q "^%$OLD_RUNLEVEL"; then
/etc/init.d/smgl_telinit: ls -ld "$RUNLEVELS_DIR"/* | grep "^d" | sed -e
's!^.*/%!!' > /dev/stderr
/etc/init.d/smgl_telinit: ls -ld "$RUNLEVELS_DIR"/* | grep -v "^d" | sed
-e
's!^.*/%!!' > /dev/stderr
/etc/init.d/smgl_telinit: if run_services | grep -qF "$1" ; then initctl -c
"$1" ; else exit 1; fi
/etc/init.d/smgl_telinit: display-services | sed -n '/^AVAILABLE
SERVICES:/,/^STARTING SERVICES:/ p' | grep -v '\(AVAILABLE\|STARTING\)
SERVICES:'
/etc/init.d/smgl_telinit: display-services | grep '^%' | head -n 1 | cut -c2-
/etc/init.d/fuse: if ! grep -qw fuse /proc/filesystems; then
/etc/init.d/fuse: if grep -qw fusectl /proc/filesystems && \
/etc/init.d/fuse: ! grep -qw $MOUNTPOINT /proc/mounts; then
/etc/init.d/fuse: if grep -qw $MOUNTPOINT /proc/mounts; then
/etc/init.d/fuse: if grep -qw "^fuse" /proc/modules; then
/etc/init.d/runlevels/%3/network: devices="$(ls $netdevdir | grep dev$ |
cut
-d. -f1)"
/etc/init.d/runlevels/%3/alsa: local __LIST=$(/sbin/lsmod | grep -E "$1")
/etc/init.d/runlevels/%3/alsa: __LIST=$(builtin echo $__LIST | grep -Ev
"$2")
/etc/init.d/runlevels/%S/keymap.sh: for a in $(grep ^tty.*: /etc/inittab);
do
/etc/init.d/smgl_functions: pidlist=$(builtin echo $(for i in $(pidof -o $$
-o
$PPID -o '%PPID' -x $base); do grep -vq '/etc/init[.]d' /proc/$i/cmdline &&
builtin echo $i; done))

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page