summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-06 04:09:34 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-06 04:09:34 +0000
commit1aafd45d52c252acaadfd12caaef2768b8ff6430 (patch)
tree304d7039d11720080459bf4469c8ed70821ae1bb /sys-apps/isapnptools
parentwe license under gpl2, not gpl2 or later (diff)
downloadhistorical-1aafd45d52c252acaadfd12caaef2768b8ff6430.tar.gz
historical-1aafd45d52c252acaadfd12caaef2768b8ff6430.tar.bz2
historical-1aafd45d52c252acaadfd12caaef2768b8ff6430.zip
we license under gpl2, not gpl2 or later
Diffstat (limited to 'sys-apps/isapnptools')
-rw-r--r--sys-apps/isapnptools/files/isapnp.rc628
1 files changed, 14 insertions, 14 deletions
diff --git a/sys-apps/isapnptools/files/isapnp.rc6 b/sys-apps/isapnptools/files/isapnp.rc6
index 5e5f8bdcecce..21d59a2bde17 100644
--- a/sys-apps/isapnptools/files/isapnp.rc6
+++ b/sys-apps/isapnptools/files/isapnp.rc6
@@ -1,25 +1,25 @@
#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/isapnptools/files/isapnp.rc6,v 1.7 2003/02/14 23:26:09 vapier Exp $
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/isapnptools/files/isapnp.rc6,v 1.8 2004/03/06 04:09:07 vapier Exp $
depend() {
need localmount
}
start() {
-if [ -e /etc/isapnp.conf ]; then
- if [ -e /usr/sbin/isapnp ] ; then
- ebegin "Configuring ISA PnP devices"
- /usr/sbin/isapnp /etc/isapnp.conf 1>&2
- eend $?
+ if [ -e /etc/isapnp.conf ]; then
+ if [ -e /usr/sbin/isapnp ] ; then
+ ebegin "Configuring ISA PnP devices"
+ /usr/sbin/isapnp /etc/isapnp.conf 1>&2
+ eend $?
+ else
+ eerror "You're missing /usr/sbin/isapnp. Do emerge sys-apps/isapnptools"
+ return 1
+ fi
else
- eerror "You're missing /usr/sbin/isapnp. Do emerge sys-apps/isapnptools"
+ eerror "You need an /etc/isapnp.conf file first"
+ eerror "Theres a sample in docs/isapnptools/txt"
return 1
fi
-else
- eerror "You need an /etc/isapnp.conf file first"
- eerror "Theres a sample in docs/isapnptools/txt"
- return 1
-fi
}