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