Revision d223f533
Added by Scott Ullrich about 19 years ago
etc/rc.initial | ||
---|---|---|
8 | 8 |
# Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>. |
9 | 9 |
# All rights reserved. |
10 | 10 |
|
11 |
if [ -e /usr/local/etc/rc.d/dev_bootstrap.sh ]; then |
|
12 |
echo |
|
13 |
echo "A bootstrap is most likely in progress." |
|
14 |
echo -n "Would you like to tail the progress [n]? " |
|
15 |
read ANSWER |
|
16 |
if [ "$ANSWER" = "y" ]; then |
|
17 |
echo |
|
18 |
echo "Press CTRL-C to abort." |
|
19 |
echo |
|
20 |
tail -f /tmp/bootup_messages |
|
21 |
fi |
|
22 |
fi |
|
23 |
|
|
11 | 24 |
# make sure the user can't kill us by pressing Ctrl-C, |
12 | 25 |
# ctrl-z, etc. |
13 | 26 |
trap : 2 |
Also available in: Unified diff
If a bootstrap is in progress, offer to the user the ability to tail its progress on the console