Browse Source

[PATCH 27/50] Don't leave cruft behind in /tmp

master
Victor Lowther 16 years ago committed by Dave Jones
parent
commit
2c6fc388b0
  1. 1
      dracut

1
dracut

@ -38,6 +38,7 @@ switchroot=$dsrc/switch_root
rulesdir=$dsrc/rules.d rulesdir=$dsrc/rules.d


initdir=$(mktemp -d -t initramfs.XXXXXX) initdir=$(mktemp -d -t initramfs.XXXXXX)
trap 'rm -rf "$initdir"' 0 # clean up after ourselves no matter how we die.


# executables that we have to have # executables that we have to have
exe="/bin/bash /bin/mount /bin/mknod /bin/mkdir /sbin/modprobe /sbin/udevd /sbin/udevadm /sbin/nash /sbin/pidof /bin/sleep /usr/sbin/chroot" exe="/bin/bash /bin/mount /bin/mknod /bin/mkdir /sbin/modprobe /sbin/udevd /sbin/udevadm /sbin/nash /sbin/pidof /bin/sleep /usr/sbin/chroot"

Loading…
Cancel
Save