#!/bin/bash

find /usr/lib/dinit/exec/shutdown -type f -executable -exec {} \& \;

umount -l -a -t nfs,nfs4,smbfs,cifs

/usr/lib/dinit/exec/early/fs-fstab stop

mount -o remount,ro /

sync
