Magellan Linux

Diff of /trunk/nas/nas.rc

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

revision 58 by niro, Sat Feb 18 22:37:30 2006 UTC revision 59 by niro, Sat Feb 18 22:47:26 2006 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /root/magellan-cvs/src/nas/nas.rc,v 1.1 2006-02-18 22:37:30 niro Exp $  # $Header: /root/magellan-cvs/src/nas/nas.rc,v 1.2 2006-02-18 22:47:26 niro Exp $
3    
4  #%rlevels: 3:s 4:s 5:s 0:k 1:k 2:k 6:k  #%rlevels: 3:s 4:s 5:s 0:k 1:k 2:k 6:k
5  #%start: 80  #%start: 80
# Line 10  Line 10 
10  #%before:  #%before:
11  #%after:  #%after:
12    
 start() {  
 ebegin "Starting nas"  
 start-stop-daemon --start --quiet --exec /usr/X11R6/bin/nasd --background \  
 --pidfile /var/run/nasd.pid --make-pidfile -- $NAS_OPTIONS  
 eend $?  
 }  
   
 stop() {  
 ebegin "Stopping nas"  
 start-stop-daemon --stop --quiet --pidfile /var/run/nasd.pid  
 eend $?  
 }  
   
13  source /etc/sysconfig/rc  source /etc/sysconfig/rc
14  source $rc_functions  source $rc_functions
15    

Legend:
Removed from v.58  
changed lines
  Added in v.59