From 15b39498c77bd4cff584e9897b0fe4855f6ce282 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 29 Sep 2013 20:25:07 -0300 Subject: Ensure /dev/inotify exists on nodo::role::nas for minidlna compatibility --- manifests/role/nas.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'manifests/role/nas.pp') diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp index d0b48fe..61e7764 100644 --- a/manifests/role/nas.pp +++ b/manifests/role/nas.pp @@ -47,6 +47,17 @@ class nodo::role::nas( value => 100000, } + # See https://dev.openwrt.org/ticket/10711 + # http://forum.doozan.com/read.php?2,1931,1931 + # http://crunchbang.org/forums/viewtopic.php?pid=294109 + # http://dev.shyd.de/2011/08/minidlna-dockstar-dlna-server/ + exec { 'minidlna-mknod-inotify': + command => 'mknod /dev/inotify c 10 63', + user => root, + group => root, + creates => '/dev/inotify', + } + class { 'minidlna': } } -- cgit v1.2.3