changeset 340:53b3cb6cae3d noffle

[svn] cleanup
author godisch
date Tue, 04 Mar 2003 21:20:07 +0000
parents ff1945b26212
children 8f8db12ae359
files debian/ip-down debian/ip-up
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/debian/ip-down	Tue Mar 04 21:08:27 2003 +0000
+++ b/debian/ip-down	Tue Mar 04 21:20:07 2003 +0000
@@ -5,9 +5,7 @@
 # 'ppp' should be a sane default here
 NOFFLE_FETCHMODE=ppp
 
-if [ -f /etc/default/noffle ]; then
-	. /etc/default/noffle
-fi
+[ -f /etc/default/noffle ] && . /etc/default/noffle || :
 
 if [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ]; then
 	/usr/bin/noffle --offline
--- a/debian/ip-up	Tue Mar 04 21:08:27 2003 +0000
+++ b/debian/ip-up	Tue Mar 04 21:20:07 2003 +0000
@@ -5,9 +5,7 @@
 # 'ppp' should be a sane default here
 NOFFLE_FETCHMODE=ppp
 
-if [ -f /etc/default/noffle ]; then
-	. /etc/default/noffle
-fi
+[ -f /etc/default/noffle ] && . /etc/default/noffle || :
 
 if [ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ]; then
 	(/usr/bin/noffle --online; nohup /usr/bin/noffle --fetch) &