View Single Post
  #10 (permalink)  
Old 15-Apr-2007, 15:41
robman
Guest
 
Posts: n/a
Default

Quote:
Yes, this is one thing I really hate on Suse.
It really got me crazy wondering why they took it off.

The conclusion I got is: Suse is X oriented, their users don't need command line, they don't want it.
That's why they created tools like Yast. Very simple things are solved running Yast, they are unable to open a simple file and edit it, check the forum.

The solution for your problem is very simple, do it yourself:
* create your own /etc/init.d/rc.local as root (you know how, right?)
* write whatever you need on it, but place a preamble at the very beginning:
#!/bin/sh
### BEGIN INIT INFO
# Provides: rc.local
# Required-Start: $network $syslog
# Required-Stop: $network $syslog
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: whatever
### END INIT INFO

* then chmod 755 rc.local
* and finally chkconfig --add rc.local

That's it
[/b]
Kudos and thanks! This was helpful.

I was trying to get dynubasic to run without being put into .xinitrc. This works but it doesn't make sense to run X just to run a dynamic IP client (dynu.com)!
I'm running 10.2 and I'd like to note that in the man page of insserv it says .local file names are not acceptable now (among other names). So I renamed my rc.local to rclocal. Otherwise chkconfig gives you an error. I did use the skeleton (/etc/init.d/skeleton) file as my starting point.