summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu/functions-default
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default4
1 files changed, 4 insertions, 0 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default
index e3a28def..ceb418b2 100644
--- a/initramfs/distro-specs/ubuntu/functions-default
+++ b/initramfs/distro-specs/ubuntu/functions-default
@@ -67,6 +67,10 @@ config_distro () {
# fix getty bug
# (console login on tty1 is started too early)
sed -i "s/start on runlevel 2/start on stopped rc2/" /mnt/etc/event.d/tty1
+
+ # for screen sessions
+ testmkd /mnt/var/run/screen 0775
+ chown root:utmp /mnt/var/run/uscreens
}
# initial (boot time) runlevel scripts