diff debian/ip-up @ 301:3b5b7f3fd71f noffle

[svn] initial debian/ upload
author godisch
date Fri, 14 Feb 2003 13:54:32 +0000
parents
children 08222dbe6eb0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/ip-up	Fri Feb 14 13:54:32 2003 +0000
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# 'ppp' should be a sane default here
+NOFFLE_FETCHMODE=ppp
+[ -f /etc/default/noffle ] && . /etc/default/noffle
+
+[ -x /usr/bin/noffle -a "$NOFFLE_FETCHMODE" = ppp ] && (/usr/bin/noffle --online; nohup /usr/bin/noffle --fetch) &