From: Olaf Conradi <oohlaf@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev boot delay
Date: Sat, 05 Mar 2005 22:15:11 +0000 [thread overview]
Message-ID: <1c687cba05030514156ac55a1d@mail.gmail.com> (raw)
In-Reply-To: <20050304084732.GA4203@branci40>
On Fri, 4 Mar 2005 17:14:11 +0100, Marco d'Itri <md@linux.it> wrote:
> On Mar 04, Olaf Conradi <oohlaf@gmail.com> wrote:
>
> > Hopefully minit and other init systems set them as well.
> Hope is not enough, this is why I chose the other approach.
Heh, it can still be used as an additional check.
Just use it if it's available, otherwise fall back on the current check.
How about this:
warn_if_interactive() {
if [ "$RUNLEVEL" = "S" -a "$PREVLEVEL" = "N" ]; then
return
fi
TTY=$(my_tty)
if [ -z "$TTY" -o "$TTY" = "/dev/console" ]; then
return
fi
printf "Warning..blabla\n"
sleep 60
}
Cheers,
-Olaf
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
prev parent reply other threads:[~2005-03-05 22:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-04 8:47 udev boot delay Jim McCloskey
2005-03-04 9:12 ` Marco d'Itri
2005-03-04 14:00 ` Samuel Liddicott
2005-03-04 15:02 ` Olaf Conradi
2005-03-04 16:14 ` Marco d'Itri
2005-03-05 22:15 ` Olaf Conradi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1c687cba05030514156ac55a1d@mail.gmail.com \
--to=oohlaf@gmail.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.