aboutsummaryrefslogtreecommitdiffstats
path: root/package/scanlogd/files/scanlogd.init
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-02-07 23:00:19 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-02-07 23:00:19 +0000
commitf169b0ffc65d2ee332ca6136dd16343e0c039965 (patch)
treefa4696e8f60f945833dd8c8b478b0e05c8257681 /package/scanlogd/files/scanlogd.init
parent506befd2caa1a82bd1feb7a0c30d41ccb1c1be9e (diff)
downloadupstream-f169b0ffc65d2ee332ca6136dd16343e0c039965.tar.gz
upstream-f169b0ffc65d2ee332ca6136dd16343e0c039965.tar.bz2
upstream-f169b0ffc65d2ee332ca6136dd16343e0c039965.zip
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