summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-09-06 11:11:29 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-09-06 11:11:29 +0000
commit23feb68a6b21fb8757d8b5e93b18fba6a552e73e (patch)
tree55606e2cacee9405212c5fe0072e46a10fa62702 /net-dialup/ppp/files
parentnew versoin, syntax changes, repoman whitespace thingy. (diff)
downloadhistorical-23feb68a6b21fb8757d8b5e93b18fba6a552e73e.tar.gz
historical-23feb68a6b21fb8757d8b5e93b18fba6a552e73e.tar.bz2
historical-23feb68a6b21fb8757d8b5e93b18fba6a552e73e.zip
initscript fixes to surround username in quotes for the secrets files
Diffstat (limited to 'net-dialup/ppp/files')
-rw-r--r--net-dialup/ppp/files/net.ppp06
1 files changed, 3 insertions, 3 deletions
diff --git a/net-dialup/ppp/files/net.ppp0 b/net-dialup/ppp/files/net.ppp0
index a5d263035b95..2be605f81b42 100644
--- a/net-dialup/ppp/files/net.ppp0
+++ b/net-dialup/ppp/files/net.ppp0
@@ -4,7 +4,7 @@
# Author: Martin Schlemmer <azarah@gentoo.org>
# Credits: To all those I got ideas from :)
#
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/net.ppp0,v 1.2 2003/07/15 20:02:46 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/net.ppp0,v 1.3 2003/09/06 11:11:27 seemant Exp $
# NB: Config is in /etc/conf.d/net.$IFACE
@@ -160,9 +160,9 @@ setup_cfg_files() {
fi
# Setup the secrets files
- echo "${USERNAME} ${PEER} \"${PASSWORD}\"" >/etc/ppp/chap-secrets
+ echo "\"${USERNAME}\" ${PEER} \"${PASSWORD}\"" >/etc/ppp/chap-secrets
chmod 600 /etc/ppp/chap-secrets
- echo "${USERNAME} ${PEER} \"${PASSWORD}\"" >/etc/ppp/pap-secrets
+ echo "\"${USERNAME}\" ${PEER} \"${PASSWORD}\"" >/etc/ppp/pap-secrets
chmod 600 /etc/ppp/pap-secrets
# Setup the chat file