From 09693d8de4c312b0ccd4dabc3f47387a330e1206 Mon Sep 17 00:00:00 2001 From: Jeffrey Townsend Date: Mon, 27 Mar 2017 22:08:18 +0000 Subject: [PATCH] Use the correct path when removing the grubenv file. --- packages/base/all/vendor-config-onl/src/sbin/uninstall | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/base/all/vendor-config-onl/src/sbin/uninstall b/packages/base/all/vendor-config-onl/src/sbin/uninstall index 2fb1c9e0..79d0d774 100755 --- a/packages/base/all/vendor-config-onl/src/sbin/uninstall +++ b/packages/base/all/vendor-config-onl/src/sbin/uninstall @@ -7,7 +7,7 @@ uninstall_x86_64() # Clear any ONIE boot selection settings and default to Install mkdir -p /mnt/onie-boot mount `blkid -L ONIE-BOOT` /mnt/onie-boot - rm -rf /mnt/onie-boot/grubenv + rm -rf /mnt/onie-boot/grub/grubenv umount /mnt/onie-boot # Force ONIE boot selection @@ -54,5 +54,3 @@ uninstall() uninstall $1 echo "The NOS will be removed at the next reboot." exit 0 - -