Author: glen                         Date: Mon Sep 29 11:25:55 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- pldize formatting

---- Files affected:
SOURCES:
   netconsole.init (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/netconsole.init
diff -u SOURCES/netconsole.init:1.4 SOURCES/netconsole.init:1.5
--- SOURCES/netconsole.init:1.4 Mon Sep 29 13:11:09 2008
+++ SOURCES/netconsole.init     Mon Sep 29 13:25:49 2008
@@ -81,13 +81,15 @@
                        TGT_MAC=''
                fi
 
-               nls "Starting netconsole %s:%d(%s) -> %s:%d %s" "${SRC_IP}" 
"${SRC_PORT}" "${DEVICE}" "${TGT_IP}" "${TGT_PORT}" "${TGT_MAC}"
-               # else we use the MAC that we are given
+               msg_starting netconsole
                modprobe netconsole [EMAIL PROTECTED]/${DEVICE},[EMAIL 
PROTECTED]/${TGT_MAC}
                RETVAL=$?
                if [ $RETVAL = 0 ]; then
+                       ok
                        dmesg -n ${LOGLEVEL}
                        touch /var/lock/subsys/netconsole
+               else
+                       fail
                fi
        else
                msg_already_running netconsole
@@ -96,7 +98,7 @@
 
 stop() {
        if [ -f /var/lock/subsys/netconsole ]; then
-               nls "Stopping netconsole"
+               msg_stopping netconsole
                modprobe -r netconsole
                RETVAL=$?
                if [ $RETVAL = 0 ]; then
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/netconsole.init?r1=1.4&r2=1.5&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to