summaryrefslogtreecommitdiffstats
path: root/openwrt/package/scanlogd/files
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/scanlogd/files')
-rwxr-xr-xopenwrt/package/scanlogd/files/scanlogd.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/package/scanlogd/files/scanlogd.init b/openwrt/package/scanlogd/files/scanlogd.init
new file mode 100755
index 000000000..762d55e8c
--- /dev/null
+++ b/openwrt/package/scanlogd/files/scanlogd.init
@@ -0,0 +1,3 @@
+#!/bin/sh
+mkdir -p `grep "^scanlogd:" /etc/passwd | cut -d: -f6`
+/usr/sbin/scanlogd