/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: 2009-05-17 04:36:54 UTC
  • mfrom: (237.2.23 mandos-release)
  • Revision ID: teddy@fukt.bsnet.se-20090517043654-ueq9rsdd3233zczi
Merge from release branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
done
124
124
 
125
125
if [ ${mandos_user} != 65534 ]; then
126
 
    PLUGINRUNNERCONF="${DESTDIR}${CONFDIR}/plugin-runner.conf"
127
 
    cat <<-EOF >> "$PLUGINRUNNERCONF"
128
 
        
129
 
        --userid=${mandos_user}
130
 
EOF
 
126
    sed --in-place --expression="1i--userid=${mandos_user}" \
 
127
        "${DESTDIR}${CONFDIR}/plugin-runner.conf"
131
128
fi
132
129
 
133
130
if [ ${mandos_group} != 65534 ]; then
134
 
    PLUGINRUNNERCONF="${DESTDIR}${CONFDIR}/plugin-runner.conf"
135
 
    cat <<-EOF >> "$PLUGINRUNNERCONF"
136
 
        
137
 
        --groupid=${mandos_group}
138
 
EOF
 
131
    sed --in-place --expression="1i--groupid=${mandos_group}" \
 
132
        "${DESTDIR}${CONFDIR}/plugin-runner.conf"
139
133
fi
140
134
 
141
135
# Key files