summaryrefslogtreecommitdiff
path: root/debian/local/setup-translators
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-18 01:46:48 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-18 01:46:48 +0200
commit71881d10bb5c4f6b70f36712068a248c0dffbd83 (patch)
tree2d9ec7956bfd0b6934b1572901f7820bf1621ea5 /debian/local/setup-translators
parent290f2a74c2e2140aa78016aeeb066d447a801ecd (diff)
create /run/shm and /run/lock, to fix locking until we properly start rcS.d scripts.
Diffstat (limited to 'debian/local/setup-translators')
-rwxr-xr-xdebian/local/setup-translators8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/local/setup-translators b/debian/local/setup-translators
index 6bd2f1d1..57dd676c 100755
--- a/debian/local/setup-translators
+++ b/debian/local/setup-translators
@@ -151,11 +151,11 @@ fi
st kbd 'symlink cons/kbd' kbd
st mouse 'symlink cons/mouse' mouse
+st shm 'symlink /run/shm' shm
-if [ ! -e shm ]; then
- mkdir shm
- chmod 1777 shm
-fi
+# until we properly start /etc/rcS.d
+mkdir -p /run/lock /run/shm
+chmod 1777 /run/lock /run/shm
echo .