summaryrefslogtreecommitdiff
path: root/share/hooks/live/0050-disable-sysvinit-tmpfs.hook.chroot
blob: 37750b36d9c1abcdaa45b0daabde4c2e7b8d4dc7 (plain)
1
2
3
4
5
6
7
8
9
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