![]() |
|
|
#1 |
|
"Patrik Johansson"
Aug 2002
Uppsala, Sweden
52·17 Posts |
I'm trying out SuSE Linux now--I used RedHat earlier. However, I can't find the rc.local file, and I never learnt how to do "the full Sys V init stuff". (Quote from RedHat rc.local.)
Is there a similar file with another name, or how should I start my mprime on this OS? Suggestions? I know about the (IMHO) ugly solution of starting it e.g. every 5 minutes in a cron job. Is there a better way to do it? |
|
|
|
|
|
#2 |
|
"Patrik Johansson"
Aug 2002
Uppsala, Sweden
52·17 Posts |
I just found the answer myself (in /etc/init.d/README).
In SuSE the file name is /etc/init.d/boot.local. |
|
|
|
|
|
#4 | |
|
Oct 2005
Fribourg, Switzerlan
111111002 Posts |
Quote:
![]() A few notes on it : start-stop-daemon --start -N16 --quiet --exec /home/victor/Primes/mprime/mprime -- -B the "-N16" asks to run mprime with nice-level 16 the 'tail's show the last line writtent in results.txt. I added this to see how far I am when booting and shutdowning my computer :) For any other question, ask the man ![]() (I think start-stop-daemon is a really neat command to start/stop mprime at the boot :)) (I almost forgot to say that you need to put this script in something like /etc/init.d/mprimed ;)) |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GGNFS under SuSe cluster | VolMike | Factoring | 7 | 2008-01-23 01:23 |
| Affinity setting in local.ini | PageFault | Software | 1 | 2006-09-13 16:39 |
| Linux/SUSE noob trouble - Resize partition | OmbooHankvald | Linux | 19 | 2005-11-18 10:39 |
| Simple question Suse 9.0 | Faraday | Linux | 13 | 2005-06-01 02:22 |
| New Linux Local Root Exploit | tinhnho | Linux | 0 | 2005-01-17 05:48 |