/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-09-19 13:50:22 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919135022-214t21hetv8jgv0y
* debian/mandos-client.docs: New.  Add README and TODO file.
* debian/mandos.docs: - '' -

* debian/mandos-client.links: New.  Create plugin-runner.conf(5) link.

* debian/rules (DH_VERBOSE): Commented out.
               Removed commented-out unused dh_* stuff.  Removed
               "dh_makeshlibs".

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