summaryrefslogtreecommitdiffstats
path: root/hooks/shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/shutdown')
-rw-r--r--hooks/shutdown3
1 files changed, 2 insertions, 1 deletions
diff --git a/hooks/shutdown b/hooks/shutdown
index 7c5d9e8..ce64caf 100644
--- a/hooks/shutdown
+++ b/hooks/shutdown
@@ -1,6 +1,7 @@
#!/usr/bin/ash
-run_hook() {
+run_cleanuphook() {
+ rm -rf /usr/lib/modules
cp -ax / /run/initramfs
}