summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu/functions-default
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-10-17 10:34:23 +0200
committerDirk von Suchodoletz2008-10-17 10:34:23 +0200
commitc898d84999125dbeef75f7f5893b945f3bee0626 (patch)
treedb80ae25d90f803acec4957a61ce843e539bb319 /initramfs/distro-specs/ubuntu/functions-default
parentxserver: stage3 fix (-a instead of -o) (diff)
downloadcore-c898d84999125dbeef75f7f5893b945f3bee0626.tar.gz
core-c898d84999125dbeef75f7f5893b945f3bee0626.tar.xz
core-c898d84999125dbeef75f7f5893b945f3bee0626.zip
Fixing creation of special directory for screen.
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2352 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default5
1 files changed, 2 insertions, 3 deletions
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