summaryrefslogtreecommitdiff
path: root/debian/patches/run.patch
blob: a4fd4eb6c6e1c3ba7a82c64140195a6b5b593cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: hurd-debian/daemons/rc.sh
===================================================================
--- hurd-debian.orig/daemons/rc.sh	2013-09-16 10:29:05.000000000 +0000
+++ hurd-debian/daemons/rc.sh	2013-09-16 10:29:05.000000000 +0000
@@ -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
 
 # This file must exist for e2fsck to work.