From 0e9c1a105c6ab6fd19d5ea48fa3aec7b082391aa Mon Sep 17 00:00:00 2001 From: Volker Uhrig Date: Thu, 16 Oct 2008 16:41:28 +0000 Subject: * create dir for screen sessions git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2343 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/distro-specs/ubuntu/functions-default | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'initramfs/distro-specs/ubuntu/functions-default') 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 -- cgit v1.2.3-55-g7522