From 02df906749db8c15d4e70a34e4fa5ff7b6b0bc95 Mon Sep 17 00:00:00 2001 From: Jeffrey Townsend Date: Tue, 11 Oct 2016 20:30:35 +0000 Subject: [PATCH] The onl-pki script has moved. --- .../all/initrds/loader-initrd-files/src/bin/sysinit | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/base/all/initrds/loader-initrd-files/src/bin/sysinit b/packages/base/all/initrds/loader-initrd-files/src/bin/sysinit index 81d327e0..983b4799 100755 --- a/packages/base/all/initrds/loader-initrd-files/src/bin/sysinit +++ b/packages/base/all/initrds/loader-initrd-files/src/bin/sysinit @@ -91,20 +91,15 @@ if [ ! -f /etc/onl/abort ]; then # Use default boot-config. cp /etc/onl/boot-config-default /etc/onl/boot-config fi - - # - # Initialize the /mnt/flash/boot area. - # - #mkdir -p /mnt/data/boot - #rm -rf /mnt/flash/boot/* fi # # Initialize PKI # -if [ -f /sbin/onl-pki ]; then - /sbin/onl-pki --init +ONL_PKI=/usr/bin/onl-pki +if [ -f "$ONL_PKI" ]; then + "$ONL_PKI" --init fi