Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Under /sbin/start_udev, how can I remove the [ OK ] so it's not printed?

I'm trying to change /etc/rc.sysinit to display the information I like, and I have managed to remove all the info output apart from the annoying [ OK ]

Any ideas? I'm using Fedora 13

share|improve this question
1  
Be aware that if you're using Fedora, this is All Going Away with the advent of systemd in Fedora 15. –  mattdm Mar 4 '11 at 15:36
add comment

1 Answer

up vote 2 down vote accepted

This is all controlled by /etc/sysconfig/init.

I'm pretty sure all you have to do is change it from

BOOTUP=color

to

BOOTUP=verbose

After doing that, it should change from something like:

Stopping udev:                                             [  OK  ]
Starting udev:                                             [  OK  ]

to

Stopping udev: udev
Starting udev:

Have a look at /etc/init.d/functions to see how that works.

start_udev calls success to print the [ OK ] message, and /etc/init.d/functions is where success is defined.

share|improve this answer
    
I thin you sort of misunderstood me, im trying to have my own output, none of what linux shows, so i have managed to remove Stopping udev, by commenting it out, but still an ok apears –  whoami Mar 4 '11 at 8:54
1  
@whoami, /sbin/start_udev sources /etc/init.d/functions, which in turn calls /etc/sysconfig/init as @Mikel says. So this should work. –  mattdm Mar 4 '11 at 15:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.