Skip to contentSkip to conversation

udev init.d script

DISCUSSION Paul Larson 2 participants 2 messages Dec 19, 2003

lore
Share & tools
lore
#0 lore raw

I was looking at the udev init.d script included with udev on a SuSE box and noticed that it got some errors.

Actual Results:
/etc/init.d/udev: line 8: /etc/rc.d/init.d/functions: No such file or directory /etc/init.d/udev: line 25: action: command not found

In spite of the errors, it still seemed to run correctly and create devices, but I think it could be easily corrected to run cleanly on any distro by simply:
1. removing line 8
2. changing the action call on line 25 to and echo

Thanks,
Paul Larson

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 7 lines · Paul Larson

I was looking at the udev init.d script included with udev on a SuSE box and noticed that it got some errors.

Actual Results:
/etc/init.d/udev: line 8: /etc/rc.d/init.d/functions: No such file or directory /etc/init.d/udev: line 25: action: command not found

Quoted 5 lines

In spite of the errors, it still seemed to run correctly and create devices, but I think it could be easily corrected to run cleanly on any distro by simply:
1. removing line 8
2. changing the action call on line 25 to and echo

But that would mess with the way Red Hat has their init scripts set up, right? Yeah I know the error is there for SuSE, and if anyone wants to send me a proper SuSE version of the script, I'd be glad to add it to the tree.

thanks,

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel