From fbd4c73cfb5a21261c9df1a0f93d2e2f9db22802 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sun, 6 Oct 2013 20:21:11 +0200 Subject: readd support for plain old script based initramfs --- install/archlogo | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'install') diff --git a/install/archlogo b/install/archlogo index db4cc4b..f16c9b1 100644 --- a/install/archlogo +++ b/install/archlogo @@ -4,8 +4,11 @@ build() { source /etc/archlogo.conf add_file /etc/archlogo.conf add_file "/usr/share/archlogo/${ARCHLOGO}" - add_systemd_unit archlogo.service - add_symlink "/usr/lib/systemd/system/sysinit.target.wants/archlogo.service" "../archlogo.service" + if [ add_systemd_unit archlogo.service 2>/dev/null ]; then + add_symlink "/usr/lib/systemd/system/sysinit.target.wants/archlogo.service" "../archlogo.service" + else + add_runscript + fi } help() { -- cgit v1.2.3-70-g09d2