Commit 2cef32c9 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

options for sync/nosync

parent d35a940a
#!/bin/sh
echo $@ > /tmp/overlay_sync
usage="Usage:
$(basename "$0") 1 - 'order' syncing of rootfs changes on reboot/shutdown
$(basename "$0") 0 - discard syncing
"
case "$1" in
0)
if [ -f /tmp/overlay_sync ]; then
rm /tmp/overlay_sync
fi
;;
1)
echo $@ > /tmp/overlay_sync
;;
*)
echo "$usage"
;;
esac
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment