Mailinglist Archive: opensuse-de (5973 mails)
| < Previous | Next > |
Re: boot.local
- From: ckupka@xxxxxxxxxxxxx (Christian Kupka)
- Date: Tue Oct 24 17:03:38 2000
- Message-id: <001701c03ddc$5aed6260$1673a8c0@xxxxxx>
From: "ChristophR." <xmail@xxxxxx>
so aber mein Script wird nicht autom. von init aufgerufen!Hallo,
Wenn ich es manuel starte ("/sbin/init.d/myscript") läuft es (Kontrolle
mit ps).
Ich habe 2 Links in "/sbin/init.d/r2.d/": S98myscript und K98myscript.
Hier der Anfang des Scriptes:
#! /bin/sh
# Copyright (c) 1995-2000 SuSE GmbH Nuernberg, Germany.
#
# Author:
#
# /sbin/init.d/<skeleton>
#
# and symbolic its link
#
# /sbin/rc<skeleton>
#
.. /etc/rc.status
#. /etc/rc.config
# Determine the base and follow a runlevel link name.
base=${0##*/}
link=${base#*[SK][0-9][0-9]}
# Force execution if not called by a runlevel directory.
test $link = $base && START_MYSCRIPT=yes
test "$START_MYSCRIPT" = yes || exit 0
fehlt noch in der rc.config Eintrag am Ende
START_MYSCRIPT="yes"
SuSEconfig,
und startet es auch automatisch
MfG
Christian Kupka
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-linux-unsubscribe@xxxxxxxx
For additional commands, e-mail: suse-linux-help@xxxxxxxx
| < Previous | Next > |