From c898d84999125dbeef75f7f5893b945f3bee0626 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 17 Oct 2008 08:34:23 +0000 Subject: Fixing creation of special directory for screen. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2352 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/distro-specs/ubuntu/functions-default | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (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 ceb418b2..2f848ab3 100644 --- a/initramfs/distro-specs/ubuntu/functions-default +++ b/initramfs/distro-specs/ubuntu/functions-default @@ -69,8 +69,7 @@ config_distro () { 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 + testmkd /mnt/var/run/screen root:utmp 0775 } # initial (boot time) runlevel scripts @@ -182,7 +181,7 @@ config_snmp () { if [ "x$start_snmp" = "xyes" ] ; then if [ -f /mnt/etc/init.d/snmpd ] ; then rllinker "snmpd" 24 2 - testmkd /mnt/var/lib/net-snmp >/dev/null 2>&1 + testmkd /mnt/var/lib/net-snmp fi # fixme!! # write service monitor depending on services started -- cgit v1.2.3-55-g7522