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-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