summaryrefslogtreecommitdiff
path: root/legacy/mkinitfs/mkinitfs.post-install
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-14 01:58:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-14 01:58:53 +0000
commite96aa174860614b69b9e8f084b3f0cbe214163c1 (patch)
treef50a183ed97b5cb2cb02e80bc408ce5b6a48ec61 /legacy/mkinitfs/mkinitfs.post-install
parent6222744c490dc72725976f1fe3024742c16e34ee (diff)
downloadpackages-e96aa174860614b69b9e8f084b3f0cbe214163c1.tar.gz
packages-e96aa174860614b69b9e8f084b3f0cbe214163c1.tar.bz2
packages-e96aa174860614b69b9e8f084b3f0cbe214163c1.tar.xz
packages-e96aa174860614b69b9e8f084b3f0cbe214163c1.zip
system/mkinitfs: delete from repository
Diffstat (limited to 'legacy/mkinitfs/mkinitfs.post-install')
-rw-r--r--legacy/mkinitfs/mkinitfs.post-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/legacy/mkinitfs/mkinitfs.post-install b/legacy/mkinitfs/mkinitfs.post-install
new file mode 100644
index 000000000..a2a404b09
--- /dev/null
+++ b/legacy/mkinitfs/mkinitfs.post-install
@@ -0,0 +1,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