diff options
author | 2003-03-19 01:43:05 +0000 | |
---|---|---|
committer | 2003-03-19 01:43:05 +0000 | |
commit | 7f4d79654632ed2707ecbb024fc08066d346eaeb (patch) | |
tree | 9bcf3eba8598b9aa8f38e313dc1d5223c80af8a2 /net-fs/sfs/files | |
parent | java-commons eclass and functions were renamed to jakarta-commons. (diff) | |
download | gentoo-2-7f4d79654632ed2707ecbb024fc08066d346eaeb.tar.gz gentoo-2-7f4d79654632ed2707ecbb024fc08066d346eaeb.tar.bz2 gentoo-2-7f4d79654632ed2707ecbb024fc08066d346eaeb.zip |
Initial import
Diffstat (limited to 'net-fs/sfs/files')
-rw-r--r-- | net-fs/sfs/files/digest-sfs-0.7.2 | 1 | ||||
-rw-r--r-- | net-fs/sfs/files/sfscd | 20 | ||||
-rw-r--r-- | net-fs/sfs/files/sfsrwsd_config | 13 | ||||
-rw-r--r-- | net-fs/sfs/files/sfssd | 25 |
4 files changed, 59 insertions, 0 deletions
diff --git a/net-fs/sfs/files/digest-sfs-0.7.2 b/net-fs/sfs/files/digest-sfs-0.7.2 new file mode 100644 index 000000000000..da02937f83fc --- /dev/null +++ b/net-fs/sfs/files/digest-sfs-0.7.2 @@ -0,0 +1 @@ +MD5 1fb559f144c4d367ef01e93beb1dea1e sfs-0.7.2.tar.gz 1283652 diff --git a/net-fs/sfs/files/sfscd b/net-fs/sfs/files/sfscd new file mode 100644 index 000000000000..970ed4791f41 --- /dev/null +++ b/net-fs/sfs/files/sfscd @@ -0,0 +1,20 @@ +#! /sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-fs/sfs/files/sfscd,v 1.1 2003/03/19 01:43:05 wmertens Exp $ + +depend() { + need net portmap +} + +start() { + ebegin "Starting SFS client daemon" + start-stop-daemon --start --quiet --exec /sbin/sfscd 1>&2 + eend $? +} + +stop() { + ebegin "Stopping SFS client daemon" + start-stop-daemon --stop --quiet --exec /sbin/sfscd 1>&2 + eend $? +} diff --git a/net-fs/sfs/files/sfsrwsd_config b/net-fs/sfs/files/sfsrwsd_config new file mode 100644 index 000000000000..f020e0dc3d07 --- /dev/null +++ b/net-fs/sfs/files/sfsrwsd_config @@ -0,0 +1,13 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/sfs/files/sfsrwsd_config,v 1.1 2003/03/19 01:43:05 wmertens Exp $ + +# Example sfsrwd_config file for serving files with SFS. All exported +# directories must exist within the SFS root export directory and must +# also be exported to localhost via NFS. Read the SFS documentation +# for full information about configuring an SFS server. + +Keyfile /etc/sfs/sfs_host_key + +# Export /var/sfs/root / +# Export /home /home diff --git a/net-fs/sfs/files/sfssd b/net-fs/sfs/files/sfssd new file mode 100644 index 000000000000..f5e3dc5852c6 --- /dev/null +++ b/net-fs/sfs/files/sfssd @@ -0,0 +1,25 @@ +#! /sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-fs/sfs/files/sfssd,v 1.1 2003/03/19 01:43:05 wmertens Exp $ + +depend() { + need net portmap nfs +} + +start() { + ebegin "Starting SFS server daemon" + start-stop-daemon --start --quiet --exec /sbin/sfssd 1>&2 + eend $? +} + +stop() { + # Stopping/restarting will likely cause any connected SFS clients + # to hang messily until they are restarted. Just keep this in + # mind, as I do not believe that the current version has a + # work-around. + + ebegin "Stopping SFS server daemon" + start-stop-daemon --stop --quiet --exec /sbin/sfssd 1>&2 + eend $? +} |