/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to initramfs-tools-hook

  • Committer: Teddy Hogeborn
  • Date: 2008-10-17 18:56:25 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081017185625-xrfv8oevzm7lyvl6
Tags: version-1.0.2-1
* Makefile (version): Changed to "1.0.2".
* NEWS (Version 1.0.2): New entry.
* debian/changelog (1.0.2-1): New entry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    exit 1
41
41
fi
42
42
 
43
 
for d in /etc/keys/mandos /usr/local/lib/mandos/keys; do
 
43
for d in /etc/keys/mandos /etc/mandos/keys; do
44
44
    if [ -d "$d" ]; then
45
45
        keydir="$d"
46
46
        break
120
120
    cp --archive --sparse=always "$file" "${DESTDIR}${CONFDIR}"
121
121
done
122
122
 
 
123
if [ ${mandos_user} != 65534 ]; then
 
124
    PLUGINRUNNERCONF="${DESTDIR}${CONFDIR}/plugin-runner.conf"
 
125
    echo "--userid=${mandos_user}" >> "$PLUGINRUNNERCONF"
 
126
fi
 
127
 
 
128
if [ ${mandos_group} != 65534 ]; then
 
129
    PLUGINRUNNERCONF="${DESTDIR}${CONFDIR}/plugin-runner.conf"
 
130
    echo "--groupid=${mandos_group}" >> "$PLUGINRUNNERCONF"
 
131
fi
 
132
 
123
133
# Key files 
124
134
for file in  "$keydir"/*; do
125
135
    if [ -d "$file" ]; then