summaryrefslogtreecommitdiff
path: root/debian/patches/run.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/run.patch')
-rw-r--r--debian/patches/run.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/run.patch b/debian/patches/run.patch
new file mode 100644
index 00000000..3588ddb0
--- /dev/null
+++ b/debian/patches/run.patch
@@ -0,0 +1,16 @@
+--- a/daemons/rc.sh
++++ b/daemons/rc.sh
+@@ -98,6 +98,13 @@
+ chgrp utmp utmp
+ fi; })
+ fi
++
++# until we properly start /etc/rcS.d
++rm -fr /run/*
++mkdir -p /run/lock /run/shm
++chmod 1777 /run/lock /run/shm
++: > /run/utmp
++
+ echo done
+
+ # See whether procfs is set up