diff options
Diffstat (limited to 'share/hooks')
-rwxr-xr-x | share/hooks/0050-disable-sysvinit-tmpfs.hook.chroot | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/hooks/0050-disable-sysvinit-tmpfs.hook.chroot b/share/hooks/0050-disable-sysvinit-tmpfs.hook.chroot new file mode 100755 index 000000000..37750b36d --- /dev/null +++ b/share/hooks/0050-disable-sysvinit-tmpfs.hook.chroot @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +# Disable tmpfs on /tmp + +if [ -e /etc/default/rcS ] +then + sed -i -e 's|^ *RAMTMP=.*|RAMTMP=no|' /etc/default/rcS +fi |