1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-06-13 15:18:44 +02:00
build/pkg/init/share/init/tmpfsvar
David Oberhollenzer d515f0dde2 Minor default settings cleanup
- Add 'rm -I' and 'cp -i' aliases to bashrc
 - Make sure tmpfsvar creates the log files that the login program expects
 - Restore 'tty' group; some scripts actually rely on that

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-15 16:01:06 +02:00

16 lines
308 B
Plaintext

description "mount /var"
type wait
target boot
before vfs
exec {
mount -t tmpfs none /var
mkdir /var/log -m 0755
mkdir /var/spool -m 0755
mkdir /var/lib -m 0755
mkdir /var/tmp -m 0755
touch /var/log/lastlog
touch /var/log/faillog
touch /var/log/sulog
/lib/libexec/init/overlay.sh var_lib /var/lib
}