Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2001 17:47:51 +0200 (CEST)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/28014: [PATCH] Small fix for output of ppp diagnostics in rc.network
Message-ID:  <200106101547.f5AFlpk72660@curry.mchp.siemens.de>

next in thread | raw e-mail | index | archive | help

>Number:         28014
>Category:       conf
>Synopsis:       [PATCH] Small fix for output of ppp diagnostics in rc.network
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 10 08:50:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andre Albsmeier
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:

System: FreeBSD 4.3-STABLE #67: Fri Jun 1 12:49:52 CEST 2001

>Description:

When starting ppp during boot (using ppp_enable="YES"), the diagnostics
output from the following command does not begin on a new line, e.g.:

Starting ppp as "root"add net 1.2.3.0: gateway 4.3.2.1

>How-To-Repeat:

Enable ppp for automatic startup, watch console when booting.

>Fix:

Assuming the 'echo -n' is there to let output of ppp follow
this line, I suggest adding an additional echo:

--- /etc/rc.network.ORI	Sun Jun 10 17:35:50 2001
+++ /etc/rc.network	Sun Jun 10 17:36:08 2001
@@ -222,6 +222,7 @@
 
 		echo -n "Starting ppp as \"${ppp_user}\""
 		su -m ${ppp_user} -c "exec ${ppp_command}"
+		echo
 		;;
 	esac
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106101547.f5AFlpk72660>