diff options
Diffstat (limited to 'raspi-overlayroot.install')
-rw-r--r-- | raspi-overlayroot.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/raspi-overlayroot.install b/raspi-overlayroot.install new file mode 100644 index 000000000000..6289316f0592 --- /dev/null +++ b/raspi-overlayroot.install @@ -0,0 +1,12 @@ +post_install() { + echo " > Please add 'overlayroot' to your HOOKS array in /etc/mkinitcpio.conf and run mkinitcpio -P." +} + +post_remove() { + if grep -qs 'overlayroot' /proc/cmdline; then + echo " > Please remove 'overlayroot' from your kernel commandline." + fi + if grep -qs 'overlayroot' /etc/mkinitcpio.conf; then + echo " > Please remove 'overlayroot' from your HOOKS array in /etc/mkinitcpio.conf and run mkinitcpio -P." + fi +} |