Openwrt/package/base-files/files/etc/init.d/rcS
Mike Baker 291420a8f3 add K* scripts to be run at shutdown
SVN-Revision: 7163
2007-05-10 10:07:38 +00:00

9 lines
121 B
Bash
Executable File

#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
{
for i in /etc/rc.d/$1*; do
$i $2 2>&1
done
} | logger -s -p 6 -t '' &