summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-07-22 14:47:32 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-07-22 14:47:32 +0000
commit964afdf533ee5db5eaf0a9452d1a5b28e549b4ad (patch)
tree83952ce12e873479cbfbd7eb19527f6e82b9b965 /net-p2p/freenet/files
parentAdd pinentry to the runtime dependencies of newpg (diff)
downloadhistorical-964afdf533ee5db5eaf0a9452d1a5b28e549b4ad.tar.gz
historical-964afdf533ee5db5eaf0a9452d1a5b28e549b4ad.tar.bz2
historical-964afdf533ee5db5eaf0a9452d1a5b28e549b4ad.zip
Fix init script slightly
Diffstat (limited to 'net-p2p/freenet/files')
-rw-r--r--net-p2p/freenet/files/rc.freenet5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-p2p/freenet/files/rc.freenet b/net-p2p/freenet/files/rc.freenet
index 5b88d1f1b494..e8e320d19ebc 100644
--- a/net-p2p/freenet/files/rc.freenet
+++ b/net-p2p/freenet/files/rc.freenet
@@ -12,6 +12,11 @@ check_config() {
eerror "Please set all options in /etc/conf.d/freenet"
return 1
fi
+ if [ ! -f /etc/freenet.conf ]; then
+ eerror "To configure freenet, please run:"
+ eerror "# ebuild /usr/portage/net-p2p/freenet/freenet-[version].ebuild"
+ return 1
+ fi
return 0
}