summaryrefslogtreecommitdiff
path: root/package/scanlogd/files/scanlogd.init
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-07 23:00:19 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-07 23:00:19 +0000
commita033ff55aae75af974e6a57d4d1742dc9d132de5 (patch)
treefa4696e8f60f945833dd8c8b478b0e05c8257681 /package/scanlogd/files/scanlogd.init
parent4b53dfd5ab2ec55e9fbf529b3e176a1f63a1bdd1 (diff)
Added scanlogd, thanks to Stephen Rose for his work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3186 3c298f89-4303-0410-b956-a3cf2f4a3e73
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