diff options
author | 2002-11-02 07:35:23 +0000 | |
---|---|---|
committer | 2002-11-02 07:35:23 +0000 | |
commit | 088969a6b596fb5d1c159823666a489159b8e5d3 (patch) | |
tree | 0a5f4391789a7342d12bdcb4242efbebc52c7ee9 /net-misc/pam_smb/files/pamsmbd-init | |
parent | added license file for dev-lang/erlang (diff) | |
download | historical-088969a6b596fb5d1c159823666a489159b8e5d3.tar.gz historical-088969a6b596fb5d1c159823666a489159b8e5d3.tar.bz2 historical-088969a6b596fb5d1c159823666a489159b8e5d3.zip |
close #7046
Diffstat (limited to 'net-misc/pam_smb/files/pamsmbd-init')
-rw-r--r-- | net-misc/pam_smb/files/pamsmbd-init | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-misc/pam_smb/files/pamsmbd-init b/net-misc/pam_smb/files/pamsmbd-init new file mode 100644 index 000000000000..1caaf4ed0a5a --- /dev/null +++ b/net-misc/pam_smb/files/pamsmbd-init @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/pam_smb/files/pamsmbd-init,v 1.1 2002/11/02 07:35:23 woodchip Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting pamsmbd" + start-stop-daemon --start --quiet --exec /usr/sbin/pamsmbd + eend $? +} + +stop() { + ebegin "Stopping pamsmbd" + start-stop-daemon --stop --quiet --name pamsmbd + eend $? +} |