summaryrefslogtreecommitdiffstats
path: root/hooks/shutdown
blob: ce64caf92360dec93c8c14e1168dbe66ff7547b8 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/ash

run_cleanuphook() {
    rm -rf /usr/lib/modules
    cp -ax / /run/initramfs
}

# vim: set ft=sh ts=4 sw=4 et: