# functions This file contains functions to be used by most or all
# shell scripts in the /etc/init.d directory.
#
-# Version: @(#) /etc/init.d/functions $Revision: 1.10 $ $Date: 1999/06/29 16:38:03 $
+# Version: @(#) /etc/init.d/functions $Revision: 1.11 $ $Date: 1999/07/05 08:08:36 $
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
# Hacked by: Greg Galloway and Marc Ewing
# Some functions to handle PLD-style messages
show()
{
- text="$*".............................................
- echo -ne `echo $text | cut -c1-45`
+ text="$*"..................................................................................
+ echo -ne `echo $text | cut -c1-65`
}
busy()
# Say something ;)
echo "`tput setaf 2`Resource Manager:`tput setaf 7` Leaving runlevel number \
-.....`tput setaf 6`[`tput setaf 2` $previous `tput setaf 6`]`tput setaf 7`"
+.........................`tput setaf 6`[`tput setaf 2` $previous `tput setaf 6`]`tput setaf 7`"
echo "`tput setaf 2`Resource Manager:`tput setaf 7` Entering runlevel number \
-.....`tput setaf 6`[`tput setaf 2` $runlevel `tput setaf 6`]`tput setaf 7`"
+.........................`tput setaf 6`[`tput setaf 2` $runlevel `tput setaf 6`]`tput setaf 7`"
# Is there an rc directory for this new runlevel?
if [ -d /etc/rc.d/rc$runlevel.d ]; then
# Say something ;)
echo "`tput setaf 2`Resource Manager:`tput setaf 7` Runlevel has been \
-reached.....`tput setaf 6`[`tput setaf 2` $runlevel `tput setaf 6`]`tput setaf 7`"
+reached.........................`tput setaf 6`[`tput setaf 2` $runlevel `tput setaf 6`]`tput setaf 7`"
if [ "${IPV6_NETWORKING}" == "yes" ] ; then
for ADDR in ${IPV6_ADDR} ; do
ip addr add ${ADDR} dev ${DEVICE} label ${FULLDEVNAME}
+ ip route add ${ADDR} dev ${DEVICE}
done
fi