TOP
SSV SOFTWARE SYSTEMS REGISTER  REGISTER
Log in to check your private messages  Log in to check your private messages
START FAQ SEARCH MITGLIEDER PROFILE  Log in 
SSV-Forum
Runlevel 9 und inittab im SSV MAX-Linux

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/2486
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
hne



Joined: 11 Jul 2008
Posts: 210
Location: Hannover

PostPosted: 06.07.2010, 11:34    Post subject: Runlevel 9 und inittab im SSV MAX-Linux Reply with quote

Desöfteren wird die Frage gestellt, wie der Runlevl 9 zu stande kommt, warum es keine Einträge in dem Verzeichnis /etc/rc9.d gibt und warum Änderungen an /etc/inittab keine Auswirkung haben.

Im Embedded Linux des DNP/2486 (und auch eSOM/2586) wird die Datei /etc/inittab nicht benutzt.
Je nach Stellung des RCM-Jumpers und des Boot-Label "ssv" bzw. "debian" wird eine aus 4 verschiedenen inittab's beim Start benutzt:
  1. /etc/initta1: RCM gesteckt, Boot-Label "ssv", Runlevel 9 mit serieller Konsole wird gestartet
  2. /etc/initta2: Kein RCM gesteckt, Boot-Label "ssv", Runlevel 9 wird gestartet
  3. /etc/initta3: RCM gesteckt, Boot-Label "debian", Runlevel 2 mit serieller Konsole wird gestartet
  4. /etc/initta4: Kein RCM gesteckt, Boot-Label "debian", Runlevel 2 wird gestartet

Die Umschaltung des Boot-Labels "ssv" bzw. "debian" wird im syslinux festgelegt. "ssv" ist default und bootet schneller, als "debian". Die "debian" Variante folgt den normalen Start/Stop-Regeln über das Runlevel-Verzeichnis "/etc/rc2.d".

Um im Runlevel 9 weitere Scripte dem Startablauf hinzuzufügen, legt man einfach nur eine Datei /flash/autoinit.sh bzw. /flash/autostart.sh an, und ruft dort die Scripte auf.

Die Standard-Startscripte, welche normalerweise unter /etc/rc9.d liegen würden, wurden zur Beschleunigung des Boot-Prozesses in die Datei /etc/ssvconfig/init.d/rcS übertragen. Wer sich mit Linux auskennt kann diese Datei natürlich erweitern.
_________________
Henry Nestler
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/2486 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV SOFTWARE SYSTEMS

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2024 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015