SVN: rc-scripts/trunk/sysconfig/network-scripts/ifup-ppp

glen glen at pld-linux.org
Sat Feb 9 21:00:53 CET 2008


Author: glen
Date: Sat Feb  9 21:00:53 2008
New Revision: 9279

Modified:
   rc-scripts/trunk/sysconfig/network-scripts/ifup-ppp
Log:
- fail on required MODEMPORT (or set it to /dev/modem?)

Modified: rc-scripts/trunk/sysconfig/network-scripts/ifup-ppp
==============================================================================
--- rc-scripts/trunk/sysconfig/network-scripts/ifup-ppp	(original)
+++ rc-scripts/trunk/sysconfig/network-scripts/ifup-ppp	Sat Feb  9 21:00:53 2008
@@ -131,6 +131,11 @@
 	fi
 fi
 
+if [ -z "$MODEMPORT" ]; then
+	echo >&2 "Missing modemport!"
+	exit 1
+fi
+
 if [ -z "$HOLDOFF" ]; then
 	HOLDOFF=30
 fi


More information about the pld-cvs-commit mailing list