diff options
Diffstat (limited to 'target/device/valka/target_skeleton/etc/rc.shutdown')
-rwxr-xr-x | target/device/valka/target_skeleton/etc/rc.shutdown | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/device/valka/target_skeleton/etc/rc.shutdown b/target/device/valka/target_skeleton/etc/rc.shutdown new file mode 100755 index 000000000..f6f110824 --- /dev/null +++ b/target/device/valka/target_skeleton/etc/rc.shutdown @@ -0,0 +1,7 @@ +#!/bin/ash +. /etc/rc.subr + +echo "Shutting down services..." +for s in $(ls /etc/rc.d | sort -r); do + /etc/rc.d/$s stop +done |