summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2013-05-23 20:20:59 +0200
committerJonathan Bauer2013-05-23 20:20:59 +0200
commit65d614304ea8ad72e285d75d19612fc03976b963 (patch)
treeef17eba8d5defff9ebb6b4f8854767036487e3be /remote
parentexport needed variables for /bin/setup-network (diff)
downloadtm-scripts-65d614304ea8ad72e285d75d19612fc03976b963.tar.gz
tm-scripts-65d614304ea8ad72e285d75d19612fc03976b963.tar.xz
tm-scripts-65d614304ea8ad72e285d75d19612fc03976b963.zip
minor
Diffstat (limited to 'remote')
-rw-r--r--remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service4
l---------remote/modules/pam/data/etc/systemd/system/getty.target.wants/activate-nss-ldap.service1
2 files changed, 2 insertions, 3 deletions
diff --git a/remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service b/remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service
index 2cea725e..7489e8b5 100644
--- a/remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service
+++ b/remote/modules/pam/data/etc/systemd/system/activate-nss-ldap.service
@@ -1,8 +1,6 @@
[Unit]
Description=Activate NSS-LDAP lookups
-Wants=systemd-udevd.service
-After=systemd-udevd.service
[Service]
Type=simple
-ExecStart=sed -i.bak 's/passwd.*/passwd:\t\tfiles ldap/g;s/group.*/group:\t\tfiles ldap/g' /etc/nsswitch.conf
+ExecStart=sed -i.bak 's/^passwd.*/passwd:\t\tfiles ldap/g;s/^group.*/group:\t\tfiles ldap/g' /etc/nsswitch.conf
diff --git a/remote/modules/pam/data/etc/systemd/system/getty.target.wants/activate-nss-ldap.service b/remote/modules/pam/data/etc/systemd/system/getty.target.wants/activate-nss-ldap.service
new file mode 120000
index 00000000..1102840c
--- /dev/null
+++ b/remote/modules/pam/data/etc/systemd/system/getty.target.wants/activate-nss-ldap.service
@@ -0,0 +1 @@
+../activate-nss-ldap.service \ No newline at end of file