Installscript-start-cmds

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Beschreibung)
(Beschreibung)
Zeile 11: Zeile 11:
 
</pre>
 
</pre>
  
^ Steht für.
+
'''^''' Steht für.
  
 
  '''(S)'''tart    -> script(s) die über '''runvdr start''' ausgeführt werden
 
  '''(S)'''tart    -> script(s) die über '''runvdr start''' ausgeführt werden
Zeile 24: Zeile 24:
 
Name. (zbs)
 
Name. (zbs)
  
  '''NAME''' -> START_DVB="0" -> [[installscript-vdr.conf|vdr.conf]]
+
  '''NAME''' -> START_'''DVB'''="0" -> [[installscript-vdr.conf|vdr.conf]]
 
               ^^^
 
               ^^^
  
Zeile 40: Zeile 40:
 
Syslog.
 
Syslog.
  
  K05.dvb (rc): Deleting DVB modules from kernel
+
  '''K'''05.dvb (rc): Deleting DVB modules from kernel
 
  ....
 
  ....
  S11.dvb (rc): Inserting DVB modules into kernel
+
  '''S'''11.dvb (rc): Inserting DVB modules into kernel
 
  ....
 
  ....
  R01.dvb (rc): Deleting DVB modules from kernel
+
  '''R'''01.dvb (rc): Deleting DVB modules from kernel
  R01.dvb (rc): Inserting DVB modules into kernel
+
  ....
 +
'''R'''01.dvb (rc): Inserting DVB modules into kernel
  
 
[[Kategorie:Installscript]]
 
[[Kategorie:Installscript]]

Version vom 23. Oktober 2005, 13:00 Uhr

Beschreibung

In ../start-cmds befinden sich Scripts (basierend auf simpleinit-msb), welche über die runvdr ausgeführt werden (Optional auch manuell...), eine andere Lösung kahm nicht in Frage, weil ein Ding der unmöglichkeit für jede Distri die passenden init-scripts bereitzustellen.

Format:

<S><NUM>.<NAME>
<R><NUM>.<NAME>
<K><NUM>.<NAME>
<P><NUM>.<NAME>

^ Steht für.

(S)tart    -> script(s) die über runvdr start ausgeführt werden
(R)estart  -> script(s) die mit vdr neu -> gestartet werden
(K)ill     -> script(s) die über runvdr stop ausgeführt werden
(P)oweroff -> script(s) die vorm shutdown ausgeführt werden

Reihenfolge.

NUM

Name. (zbs)

NAME -> START_DVB="0" -> vdr.conf
              ^^^

Mit etwas Glück sollte es so ausschauen.

bash> ../bin/runvdr start
starting /usr/sbin/atd ...                                        [ DONE ]
starting /usr/local/sbin/lircd ...                                [ DONE ]
starting /usr/local/bin/irexec ...                                [ DONE ]
starting /usr/bin/ntpdate ...                    uptime to high   [ WARN ]
starting dvb driver ...                                           [ DONE ]
starting /usr/bin/rtorrent ...                   already running  [ WARN ]
starting /usr/local/bin/vdr ...

Syslog.

K05.dvb (rc): Deleting DVB modules from kernel
....
S11.dvb (rc): Inserting DVB modules into kernel
....
R01.dvb (rc): Deleting DVB modules from kernel
....
R01.dvb (rc): Inserting DVB modules into kernel