# -*- coding: utf-8 -*-

# set default maximum tmpfs size
/^#\?TMPFS_SIZE=/ {
    s/#//
    s/[^=]*$/32m/
}

# set maximum tmpfs size for /run
/^#\?RUN_SIZE=/ {
    s/#//
    s/[^=]*$/5m/
}

# set maximum tmpfs size for /run/shm
/^#\?SHM_SIZE=/ {
    s/#//
    s/[^=]*$/25%/
}
