commit 72e47aa0fcc6a88984076cc7839c9e2ba15ff53f
parent 58e5d79a981c711cdcbe4d4e5c1723b5e83f82d1
Author: Christoph Lohmann <20h@r-36.net>
Date: Fri, 11 May 2012 16:16:21 +0200
There could be now /proc/fd or /dev/fd.
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/run_nldev b/run_nldev
@@ -1,6 +1,10 @@
#!/bin/sh
-ln -s /proc/self/fd /dev/fd
+if [ -e /proc/self/fd ];
+then
+ mkdir -p /dev/fd
+ ln -s /proc/self/fd /dev/fd
+fi
/bin/nldev -kd 2>&1 | logger -p daemon.notice -t nldev