aboutsummaryrefslogtreecommitdiffstats
path: root/main/mkinitfs/mkinitfs.post-install
blob: a2a404b097c1926a55b9993c91b1490d9f0bd7cb (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

# safety. if nlplug-findfs is missing in the initramfs image we may end up
# with an unbootable system.

if ! grep -q -w /sbin/nlplug-findfs /etc/mkinitfs/features.d/base.files; then
	echo "/sbin/nlplug-findfs" >> /etc/mkinitfs/features.d/base.files
fi