diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-02-18 10:43:31 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-02-18 10:44:41 +0100 |
commit | 71746cc0d9aabe80813a7d64dce075a96d9c6185 (patch) | |
tree | a0b981d3603c69d42b4c120fea1446fa2524623a /generic | |
parent | 66758c2b2b4519d8a1ff3756d2d8a3cdc2a6bdde (diff) | |
download | ptxdist-71746cc0d9aabe80813a7d64dce075a96d9c6185.tar.gz ptxdist-71746cc0d9aabe80813a7d64dce075a96d9c6185.tar.xz |
rt-set-bandwidth: fix restoration of original value during stop
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'generic')
-rw-r--r-- | generic/etc/init.d/rt-set-bandwidth | 2 |
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 |