On 02/12/13 04:58, Yousong Zhou wrote:
On ar71xx platform, /dev/inotify is not created by default. Create it
when inotify is enabled.
This should close ticket #10711.
Signed-off-by: Yousong Zhou<yszhou4t...@gmail.com>
---
multimedia/minidlna/files/minidlna.init | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/multimedia/minidlna/files/minidlna.init
b/multimedia/minidlna/files/minidlna.init
index 581c8d1..60602c1 100644
--- a/multimedia/minidlna/files/minidlna.init
+++ b/multimedia/minidlna/files/minidlna.init
@@ -48,6 +48,9 @@ minidlna_create_config() {
[ -z "$interface" -o -t "$port" ]&& return 1
+ config_get_bool inotify $cfg inotify
+ [ "$inotify" -gt 0 ]&& [ ! -c /dev/inotify ]&& mknod /dev/inotify c
10 63;
+
echo "# this file is generated automatically, don't edit">
"$MINIDLNA_CONFIG_FILE"
minidlna_cfg_append "port=$port"
Hi,
creating the device node inside a init.d script seems wrong
can you try and figure out why hotplug.d is not creating the node ?
John
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel