/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-script

  • Committer: Teddy Hogeborn
  • Date: 2009-01-24 15:26:43 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090124152643-z407mod2c1btn5ly
* plugins.d/mandos-client.c (main): Use remove() instead of unlink(),
                                    and use it on everything in the
                                    temporary directory, not just
                                    files.

* plugins.d/mandos-client.xml (DESCRIPTION): Better wording.
  (OPTIONS): For the "--interface" option, document the unsuitability
             of pseudo-interfaces which will not exist in the initrd.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
     ;;
25
25
esac
26
26
 
 
27
for param in `cat /proc/cmdline`; do
 
28
    case "$param" in
 
29
        mandos=off) exit 0;;
 
30
    esac
 
31
done
 
32
 
 
33
chmod a=rwxt /tmp
 
34
 
27
35
test -w /conf/conf.d/cryptroot
28
36
 
29
37
# Do not replace cryptroot file unless we need to.