summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-10-23 18:06:10 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-10-23 18:06:10 +0000
commitaf93836863b604f6b1ff85aa2743dbabf265485e (patch)
tree8c9f48d9472746a49c29a70028b970576473f59b /sys-auth/sssd/files
parentcleanup. (diff)
downloadgentoo-2-af93836863b604f6b1ff85aa2743dbabf265485e.tar.gz
gentoo-2-af93836863b604f6b1ff85aa2743dbabf265485e.tar.bz2
gentoo-2-af93836863b604f6b1ff85aa2743dbabf265485e.zip
Fix depends in init script, bug 385157
(Portage version: 2.1.10.26/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/sssd/files')
-rw-r--r--sys-auth/sssd/files/sssd21
-rw-r--r--sys-auth/sssd/files/sssd.conf4
2 files changed, 25 insertions, 0 deletions
diff --git a/sys-auth/sssd/files/sssd b/sys-auth/sssd/files/sssd
new file mode 100644
index 000000000000..dbf7850227c4
--- /dev/null
+++ b/sys-auth/sssd/files/sssd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+
+command="/usr/sbin/sssd"
+command_args="${SSSD_OPTIONS} -D"
+start_stop_daemon_args="--quiet"
+description="System Security Services Daemon"
+
+depend(){
+ need localmount clock
+ use syslog xdm
+}
+
+if [ "${RC_VERSION:-0}" = "0" ]; then
+ start() {
+ eerror "This script cannot be used for baselayout-1."
+ return 1
+ }
+fi
diff --git a/sys-auth/sssd/files/sssd.conf b/sys-auth/sssd/files/sssd.conf
new file mode 100644
index 000000000000..33dab3ddcd5d
--- /dev/null
+++ b/sys-auth/sssd/files/sssd.conf
@@ -0,0 +1,4 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+SSSD_OPTIONS=""