--- trunk/usbip/usbipdevd.rc 2007/05/09 15:06:06 176 +++ trunk/usbip/usbipdevd.rc 2011/09/19 16:02:35 1531 @@ -10,14 +10,14 @@ #%before: #%after: -source /etc/sysconfig/rc +source /etc/conf.d/rc source $rc_functions exec=/usr/sbin/usbipdevd case "$1" in start) - echo -e ${COLOREDSTAR}"Starting usbip-device daemon ..." + rc_print "Starting USBIP Device-Export daemon ..." start-stop-daemon --quiet --start --exec ${exec} \ --pidfile /var/run/usbipdevd.pid \ --make-pidfile --background @@ -28,7 +28,7 @@ ;; stop) - echo -e ${COLOREDSTAR}"Stopping usbip-device daemon ..." + rc_print "Stopping USBIP Device-Export daemon ..." start-stop-daemon --quiet --stop \ --pidfile /var/run/usbipdevd.pid evaluate_retval @@ -48,7 +48,7 @@ ;; *) - echo "Usage: $0 {start|stop|restart|status}" + rc_echo "Usage: $0 {start|stop|restart|status}" exit 1 ;; esac