CVS: moonbase/net/pppconfig BUILD,1.1,1.2

nestu at lunar-linux.org nestu at lunar-linux.org
Sun Aug 17 13:48:53 GMT 2003


Update of /var/cvs/lunar/moonbase/net/pppconfig
In directory dbguin.lunar-linux.org:/tmp/cvs-serv18604

Modified Files:
	BUILD 
Log Message:
Added 3 missing dirs under /etc/ppp/, that should have been created. Thanks to elaine.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/pppconfig/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD	3 Jul 2003 14:45:41 -0000	1.1
+++ BUILD	17 Aug 2003 13:48:51 -0000	1.2
@@ -1,5 +1,14 @@
 (
+	# ppp creates /etc/ppp but we need a couple of dirs more
+
+	for dir in /etc/ppp/ip-down.d/ /etc/ppp/ip-up.d/ /etc/ppp/resolv/    
+	do
+		test -e $dir || mkdir $dir 
+	done
+
+	# pppconfig searches in /etc/chatscripts instead of /etc/chat, so we just link it
 	test -e /etc/chatscripts || ln -s /etc/ppp/chat /etc/chatscripts
+
 	cp pppconfig     /usr/sbin/           &&  chown root.root /usr/sbin/pppconfig
 	cp 0dns-up       /etc/ppp/ip-up.d/    &&  chown root.root /etc/ppp/ip-up.d/0dns-up
 	cp 0dns-down     /etc/ppp/ip-down.d/  &&  chown root.root /etc/ppp/ip-down.d/0dns-down	




More information about the Lunar-commits mailing list