Magellan Linux

Diff of /tags/init-0_3_3-r4/magellan-initscripts/etc/rc.d/init.d/localnet

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

branches/unlabeled-1.1.1/magellan-initscripts/etc/rc.d/init.d/localnet revision 2 by niro, Mon Dec 13 22:52:07 2004 UTC tags/init-0_3_3-r4/magellan-initscripts/etc/rc.d/init.d/localnet revision 54, Mon Feb 14 22:27:37 2005 UTC
# Line 11  Line 11 
11    
12  source /etc/sysconfig/rc  source /etc/sysconfig/rc
13  source $rc_functions  source $rc_functions
14  #source /etc/sysconfig/network  
15  source /etc/hostname  #get hostname
16    HOSTNAME="$(< /etc/hostname)"
17    
18  case "$1" in  case "$1" in
19   start)   start)
20   echo -e ${COLOREDSTAR}"Bringing up the loopback interface ..."   echo -e ${COLOREDSTAR}"Bringing up the loopback interface ..."
21   loadproc ifconfig lo 127.0.0.1   loadproc ifconfig lo 127.0.0.1
22    
23   echo -e ${COLOREDSTAR}"Setting hostname to $HOSTNAME ..."   echo -e ${COLOREDSTAR}"Setting hostname to ${HOSTNAME} ..."
24   loadproc hostname $HOSTNAME   loadproc hostname ${HOSTNAME}
25    
26   update_svcstatus $1   update_svcstatus $1
27   splash svc_started "$(basename $0)" 0   splash svc_started "$(basename $0)" 0

Legend:
Removed from v.2  
changed lines
  Added in v.54