diff options
author | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-03-26 10:24:43 +0000 |
---|---|---|
committer | Jannis Pohlmann <jannis.pohlmann@codethink.co.uk> | 2012-03-26 10:24:43 +0000 |
commit | 92d128b405a16a14aba2348117c263672f93c706 (patch) | |
tree | d1d1021590cf129fea90b786cd81672167a1b3e0 | |
parent | 45de7fa4b141d308f47b260e8f34c092b8ea8b7a (diff) | |
download | tbdiff-92d128b405a16a14aba2348117c263672f93c706.tar.gz |
Use busybox sync instead of sync alone.
-rwxr-xr-x | tbdiff-switch/tbdiff-switch | 2 | ||||
-rwxr-xr-x | tbdiff-update/tbdiff-update | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tbdiff-switch/tbdiff-switch b/tbdiff-switch/tbdiff-switch index 306ef86..12a00b3 100755 --- a/tbdiff-switch/tbdiff-switch +++ b/tbdiff-switch/tbdiff-switch @@ -71,7 +71,7 @@ busybox sed -i -e "s,factory-run,$target_subvolume-run,g" "extlinux.conf" cd / # perform a sync to make sure everything has been written -sync +busybox sync # reboot the system busybox reboot diff --git a/tbdiff-update/tbdiff-update b/tbdiff-update/tbdiff-update index 0cd7471..21373d8 100755 --- a/tbdiff-update/tbdiff-update +++ b/tbdiff-update/tbdiff-update @@ -111,7 +111,7 @@ busybox sed -i -e "s,factory-run,$target_subvolume-run,g" "extlinux.conf" cd / # perform a sync to make sure everything has been written -sync +busybox sync # reboot the system busybox reboot |