summaryrefslogtreecommitdiff
path: root/data/templates/grub
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-10-23 12:19:26 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-12-16 20:37:10 -0600
commit041cdcff990418ff25a424808299e1a5663a046c (patch)
tree92739e4484c012ee9b6e1e74ba070f30fa8d5a88 /data/templates/grub
parentbb1c98ae64667fdc4fba7a316671d16964fb024f (diff)
downloadvyos-1x-041cdcff990418ff25a424808299e1a5663a046c.tar.gz
vyos-1x-041cdcff990418ff25a424808299e1a5663a046c.zip
image: T4516: use copy of pw_reset script for install, link for compat
Note that this was updated for the fix in T5739. (cherry picked from commit 424c9b19fd54598081e965c3364b082c5ef984de)
Diffstat (limited to 'data/templates/grub')
-rw-r--r--data/templates/grub/grub_vyos_version.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/grub/grub_vyos_version.j2 b/data/templates/grub/grub_vyos_version.j2
index 6e8f45210..97fbe8473 100644
--- a/data/templates/grub/grub_vyos_version.j2
+++ b/data/templates/grub/grub_vyos_version.j2
@@ -11,7 +11,7 @@ menuentry "{{ version_name }}" --id {{ version_uuid }} {
set boot_opts="${boot_opts} toram"
fi
if [ "${bootmode}" == "pw_reset" ]; then
- set boot_opts="${boot_opts} console=${console_type}${console_num} init=/opt/vyatta/sbin/standalone_root_pw_reset"
+ set boot_opts="${boot_opts} console=${console_type}${console_num} init=/usr/libexec/vyos/system/standalone_root_pw_reset"
elif [ "${bootmode}" == "recovery" ]; then
set boot_opts="${boot_opts} console=${console_type}${console_num} init=/usr/bin/busybox init"
else