mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
1af5c26034
This commit introduces a `sync` call before the install script exits. The writes that this script does during setup do not reach persistent storage until the kernel decides to flush them. The reboot sequence might drop those pending writes on the floor. To mitigate that possibility (but not fully eliminate it), the script now calls `sync`, which waits until the kernel has flushed its write cache. |
||
---|---|---|
.. | ||
install.sh |