diff options
| author | Simon Rettberg | 2013-07-02 18:55:47 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-07-02 18:55:47 +0200 |
| commit | 15202934cd4aceb7d8b0d8d60659026820132ef2 (patch) | |
| tree | f6a565a22dafc853ed6cb2138302158b7c01f86f /remote/modules/pam | |
| parent | Merge branch 'master' of dnbd3:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-15202934cd4aceb7d8b0d8d60659026820132ef2.tar.gz tm-scripts-15202934cd4aceb7d8b0d8d60659026820132ef2.tar.xz tm-scripts-15202934cd4aceb7d8b0d8d60659026820132ef2.zip | |
[nscd] Move nscd related files from pam module to nscd module
Diffstat (limited to 'remote/modules/pam')
| l--------- | remote/modules/pam/data/etc/systemd/system/multi-user.target.wants/nscd.service | 1 | ||||
| -rw-r--r-- | remote/modules/pam/data/etc/systemd/system/nscd.service | 11 | ||||
| -rw-r--r-- | remote/modules/pam/pam.build | 3 |
3 files changed, 2 insertions, 13 deletions
diff --git a/remote/modules/pam/data/etc/systemd/system/multi-user.target.wants/nscd.service b/remote/modules/pam/data/etc/systemd/system/multi-user.target.wants/nscd.service deleted file mode 120000 index 70066631..00000000 --- a/remote/modules/pam/data/etc/systemd/system/multi-user.target.wants/nscd.service +++ /dev/null @@ -1 +0,0 @@ -../nscd.service
\ No newline at end of file diff --git a/remote/modules/pam/data/etc/systemd/system/nscd.service b/remote/modules/pam/data/etc/systemd/system/nscd.service deleted file mode 100644 index 262bb534..00000000 --- a/remote/modules/pam/data/etc/systemd/system/nscd.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Name Service Cache Daemon - -[Service] -ExecStart=/usr/sbin/nscd -d -ExecStop=/usr/sbin/nscd --shutdown -Restart=always - -[Install] -WantedBy=multi-user.target -Also=nscd.socket diff --git a/remote/modules/pam/pam.build b/remote/modules/pam/pam.build index d3c0dd88..607139fa 100644 --- a/remote/modules/pam/pam.build +++ b/remote/modules/pam/pam.build @@ -6,7 +6,8 @@ build() { mkdir -p "$MODULE_BUILD_DIR/opt/openslx/bin" gcc -o "$MODULE_BUILD_DIR/opt/openslx/bin/sslconnect" "$MODULE_DIR/sslconnect.c" -lssl -lcrypto -O3 || perror "Could not compile sslconnect.c" local COPYLIST="$MODULE_BUILD_DIR/list_packet_files" - list_packet_files | sort -u > "$COPYLIST" + # TODO: Hack for SUSE: Ignore file (/var/lib/nfs/state) that does not exist :( + list_packet_files | grep -v '/var/lib/nfs/state' | sort -u > "$COPYLIST" tarcopy "$(cat "$COPYLIST")" "${MODULE_BUILD_DIR}" } |
