mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
f43b7934d2
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36003
10 lines
183 B
Bash
Executable File
10 lines
183 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
LOGGER="cat"
|
|
[ -x /usr/bin/logger ] && LOGGER="logger -p 6 -t sysinit"
|
|
|
|
for i in /etc/rc.d/$1*; do
|
|
[ -x $i ] && $i $2 2>&1
|
|
done | $LOGGER
|