Magellan Linux

Diff of /trunk/initscripts/sysvinit/rc/setclock

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

revision 134 by niro, Sat Jul 2 20:39:47 2005 UTC revision 781 by niro, Mon Dec 22 22:01:15 2008 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/setclock,v 1.4 2005-07-02 20:39:47 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/setclock,v 1.6 2008-12-22 22:01:15 niro Exp $
3    
4  #%rlevels: 7:s  #%rlevels: 7:s
5  #%start: 60  #%start: 60
# Line 10  Line 10 
10  #%before:  #%before:
11  #%after:  #%after:
12    
13  source /etc/sysconfig/rc  source /etc/conf.d/rc
14  source $rc_functions  source ${rc_functions}
15  source /etc/rc.config  source /etc/rc.config
16    
17  CLOCKPARAMS="--hctosys"  CLOCKPARAMS="--hctosys"
# Line 26  case "${CLOCK}" in Line 26  case "${CLOCK}" in
26  esac  esac
27    
28  echo -e ${COLOREDSTAR}"Setting clock ..."  echo -e ${COLOREDSTAR}"Setting clock ..."
29  hwclock "${CLOCKPARAMS}"  hwclock ${CLOCKPARAMS}
30  evaluate_retval  evaluate_retval
31    
32  update_svcstatus $1  update_svcstatus $1

Legend:
Removed from v.134  
changed lines
  Added in v.781