Re: init.d und boot_mesg

Marcus Röckrath <[email protected]>
Newsgroups spline.eisfair.dev
Message-ID <[email protected]>
Hallo Helmut,

Helmut Backhaus wrote:

> Aber ich sehe das richtig, dass diese Funktionen nur aus Init-Scripts
> heraus funktionieren?

Wieso das denn?

Das hier funktioniert wunderbar aus einem beliebigen Skript.


#!/bin/sh

. /etc/init.d/functions

boot_mesg "Fehltext" $FAILURE
echo_failure

boot_mesg "Succestext" $SUCCESS
echo_ok

boot_mesg "Warntext" $WARNING
echo_warning

-- 
Gruß Marcus
[eisfair-Team]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.