summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/etc/init.d/rt-set-bandwidth2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/etc/init.d/rt-set-bandwidth b/generic/etc/init.d/rt-set-bandwidth
index caad616a6..4c0f7a503 100644
--- a/generic/etc/init.d/rt-set-bandwidth
+++ b/generic/etc/init.d/rt-set-bandwidth
@@ -22,7 +22,7 @@ case $1 in
;;
stop)
if [ -f "${runtime_orig}" ]; then
- cp "${runtime_orig}" "${runtime}"
+ cat "${runtime_orig}" > "${runtime}"
else
echo "WARNING: Restoring RT-bandwidth was requested, but original value was not found!"
fi