--- trunk/magellan-initscripts/etc/rc.d/init.d/swap 2009/11/05 12:57:14 931 +++ trunk/magellan-initscripts/etc/rc.d/init.d/swap 2011/03/11 17:19:13 1250 @@ -15,7 +15,7 @@ case "$1" in start) - echo -e ${COLOREDSTAR}"Activating all swap files/partitions ..." + rc_print "Activating all swap files/partitions ..." swapon -a evaluate_retval @@ -24,7 +24,7 @@ ;; stop) - echo -e ${COLOREDSTAR}"Deactivating all swap files/partitions ..." + rc_print "Deactivating all swap files/partitions ..." swapoff -a evaluate_retval @@ -39,13 +39,13 @@ ;; status) - echo "Retrieving swap status ..." - echo + rc_echo "Retrieving swap status ..." + rc_echo swapon -s ;; *) - echo "Usage: $0 {start|stop|restart|status}" + rc_echo "Usage: $0 {start|stop|restart|status}" exit 1 ;; esac