mirror of
https://github.com/pygos/init-scripts.git
synced 2024-11-14 00:47:10 +01:00
021fa43244
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
16 lines
330 B
Text
16 lines
330 B
Text
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
|
|
mkdir /var/nginx -m 0755
|
|
touch /var/log/lastlog
|
|
touch /var/log/faillog
|
|
touch /var/log/sulog
|
|
"@SCRIPTDIR@/overlay.sh" var_lib /var/lib
|
|
}
|