=== modified file 'initramfs-tools-hook' --- initramfs-tools-hook 2009-04-16 01:00:35 +0000 +++ initramfs-tools-hook 2009-04-17 08:26:17 +0000 @@ -123,19 +123,13 @@ done if [ ${mandos_user} != 65534 ]; then - PLUGINRUNNERCONF="${DESTDIR}${CONFDIR}/plugin-runner.conf" - cat <<-EOF >> "$PLUGINRUNNERCONF" - - --userid=${mandos_user} -EOF + sed --in-place --expression="1i--userid=${mandos_user}" \ + "${DESTDIR}${CONFDIR}/plugin-runner.conf" fi if [ ${mandos_group} != 65534 ]; then - PLUGINRUNNERCONF="${DESTDIR}${CONFDIR}/plugin-runner.conf" - cat <<-EOF >> "$PLUGINRUNNERCONF" - - --groupid=${mandos_group} -EOF + sed --in-place --expression="1i--groupid=${mandos_group}" \ + "${DESTDIR}${CONFDIR}/plugin-runner.conf" fi # Key files === modified file 'plugin-runner.conf' --- plugin-runner.conf 2009-02-09 02:01:13 +0000 +++ plugin-runner.conf 2009-04-17 08:26:17 +0000 @@ -1,6 +1,7 @@ -## This is the configuration file for plugin-runner. It should be -## installed as "/etc/mandos/plugin-runner.conf", which will be copied -## to "/conf/conf.d/mandos/plugin-runner.conf" in the initrd.img file. +## This is the configuration file for plugin-runner(8mandos). This +## file should be installed as "/etc/mandos/plugin-runner.conf", and +## will be copied to "/conf/conf.d/mandos/plugin-runner.conf" in the +## initrd.img file. ## ## After editing this file, the initrd image file must be updated for ## the changes to take effect!