Magellan Linux

Diff of /trunk/magellan-initscripts/etc/rc.d/init.d/functions

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

revision 274 by niro, Fri Oct 21 15:21:41 2005 UTC revision 317 by niro, Tue Jan 3 18:03:11 2006 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/functions,v 1.5 2005-10-21 15:21:41 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/functions,v 1.6 2006-01-03 18:03:11 niro Exp $
3    
4  # Begin $rc_base/init.d/functions - Run Level Control Functions  # Begin $rc_base/init.d/functions - Run Level Control Functions
5    
# Line 348  progressbar() Line 348  progressbar()
348   fi   fi
349  }  }
350    
351    kernel_version()
352    {
353     local KV="$(uname -r | cut -d- -f1)"
354     echo "${KV}"
355    }
356    
357  kernel_major_version()  kernel_major_version()
358  {  {
359   local KV   local KV
360   KV="$(uname -r|cut -d. -f1-2)"   KV="$(uname -r | cut -d. -f1-2)"
361   echo "${KV}"   echo "${KV}"
362  }  }
363    
364  dolisting()  dolisting()
365  {  {
366   local x=   local x=
367   local y=   local y=

Legend:
Removed from v.274  
changed lines
  Added in v.317