Magellan Linux

Diff of /trunk/busybox-initscripts/sbin/rc-config

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

revision 726 by niro, Mon Jun 2 22:14:35 2008 UTC revision 727 by niro, Mon Jun 2 22:43:29 2008 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/busybox-initscripts/sbin/rc-config,v 1.1 2008-06-02 22:14:35 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/busybox-initscripts/sbin/rc-config,v 1.2 2008-06-02 22:43:29 niro Exp $
3    
4  RC_INIT_BASE=${MROOT}/etc/init.d  RC_INIT_BASE=${MROOT}/etc/init.d
5  RC_EXCLUDE="rc functions template splash-functions udev"  RC_EXCLUDE="rc functions template splash-functions udev"
# Line 109  rc_service_add() Line 109  rc_service_add()
109   # stop   # stop
110   ?:k)   ?:k)
111   [[ ${i} = 7:k ]] && i="sysinit:k"   [[ ${i} = 7:k ]] && i="sysinit:k"
112   [[ ${i} = 3:s ]] && i="boot:k"   [[ ${i} = 3:k ]] && i="boot:k"
113   [[ ${i} = 0:s ]] && i="shutdown:k"   [[ ${i} = 0:k ]] && i="shutdown:k"
114   echo -e "\t\t[rc${i/:k/}.d -> K${RC_STOP}]"   echo -e "\t\t[rc${i/:k/}.d -> K${RC_STOP}]"
115   ln -snf ../init.d/${RC_SERVICE} \   ln -snf ../init.d/${RC_SERVICE} \
116   ${MROOT}/etc/rc.d/rc${i/:k/}.d/K${RC_STOP}${RC_SERVICE}   ${MROOT}/etc/rc.d/rc${i/:k/}.d/K${RC_STOP}${RC_SERVICE}

Legend:
Removed from v.726  
changed lines
  Added in v.727