NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/40495: etc/rc.d/rndctl doesn't support "-t net" argument



>Number:         40495
>Category:       misc
>Synopsis:       etc/rc.d/rndctl doesn't support "-t net" argument
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 27 12:25:00 +0000 2009
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 5.99.7
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.7 NetBSD 5.99.7 (BONNIE) #32: Fri Jan 23 
20:57:36 JST 2009 
root%bonnie.jaist.ac.jp@localhost:/usr/src/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
rndctl script doesn't work with "-t net" argument.
        
>How-To-Repeat:
        
>Fix:
Index: rndctl
===================================================================
RCS file: /usr/cvsup/src/etc/rc.d/rndctl,v
retrieving revision 1.1
diff -d -p -u -r1.1 rndctl
--- rndctl      4 Jan 2009 12:10:30 -0000       1.1
+++ rndctl      27 Jan 2009 12:10:10 -0000
@@ -58,7 +58,7 @@ rndctl_startcmd()
                                        #
                                        case "${flags}" in
                                        *[cCeE]*) ;;
-                                       *)      flags="${flags} -c -e" ;;
+                                       *)      flags="-c -e ${flags}" ;;
                                        esac
                                        case "${flags}" in
                                        *[dt]*) ;;
        



Home | Main Index | Thread Index | Old Index