Adding hook to disable tmpfs on /tmp when using sysvinit, previously done by live-config.

This commit is contained in:
Daniel Baumann 2015-05-02 13:58:47 +02:00
parent 320b1ce75e
commit 1a5fda595f
1 changed files with 10 additions and 0 deletions

View File

@ -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