Magellan Linux

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

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

revision 3 by niro, Mon Dec 13 22:52:07 2004 UTC revision 71 by niro, Tue Mar 15 19:07:56 2005 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/hotplug,v 1.2 2005-03-15 19:07:56 niro Exp $
3    
4  #%rlevels: 0:k 1:k 6:k 7:s  #%rlevels: 0:k 1:k 6:k 7:s
5  #%start: 56  #%start: 56
# Line 19  case $1 in Line 20  case $1 in
20   echo "Please install sys-apps/hotplug"   echo "Please install sys-apps/hotplug"
21   exit 1   exit 1
22   fi   fi
23    
24   for i in /etc/hotplug/*.rc   for i in /etc/hotplug/*.rc
25   do   do
26   echo -e ${COLOREDSTAR}"Starting hotplug for $(basename ${i} .rc) devices"   echo -e ${COLOREDSTAR}"Starting hotplug for $(basename ${i} .rc) devices"
# Line 48  case $1 in Line 49  case $1 in
49   sleep 1   sleep 1
50   $0 start   $0 start
51   ;;   ;;
52      
53   *)   *)
54   echo "Usage: $0 {start|stop|restart}"   echo "Usage: $0 {start|stop|restart}"
55   exit 1   exit 1

Legend:
Removed from v.3  
changed lines
  Added in v.71