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

  • Committer: Teddy Hogeborn
  • Date: 2008-08-18 03:25:01 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080818032501-2cl874fi3uvsqn1b
* mandos.xml (SYNOPSIS): Removed unnecessary 'choice="opt"' from <arg>
                         tags.  Also show the "-h" option.
  (OPTIONS): Note that failure to obey the "--interface" option is not
             considered critical.
  (ENVIRONMENT): New section to document the use of PATH by /bin/sh.
  (FILES): Added "/bin/sh".
  (BUGS): Add five bugs from the TODO file.
  (EXAMPLES): Renamed to "EXAMPLE", as per man-pages(7).
  (SERVER, CLIENTS): Added "id" attribute.
  (CLIENT): Document the security implications of one of the five
            bugs added to the BUGS section.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- shell-script -*-
2
 
 
3
 
# if mkinitramfs is started by mkinitramfs-kpkg, mkinitramfs-kpkg has
4
 
# already touched the initrd file with umask 022 before we had a
5
 
# chance to affect it.  We cannot allow a readable initrd file,
6
 
# therefore we must fix this now.
7
 
if [ -e "${outfile}" ] \
8
 
    && [ `stat --format=%s "${outfile}"` -eq 0 ]; then
9
 
    rm "${outfile}"
10
 
    (umask 027; touch "${outfile}")
11
 
fi
12
 
 
13
1
UMASK=027