summaryrefslogtreecommitdiff
path: root/debian/patches/run.patch
blob: 6c9dfa60e0fff78e1e8dffc5fc4f1d36895876c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: hurd/daemons/rc.sh
===================================================================
--- hurd.orig/daemons/rc.sh	2011-12-06 02:51:32.000000000 +0100
+++ hurd/daemons/rc.sh	2011-12-06 02:52:16.000000000 +0100
@@ -98,6 +98,12 @@
 	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
+
 echo done
 
 # This file must exist for e2fsck to work. XXX