Fix FS#31022
Signed-off-by: Gerardo Exequiel Pozzi
---
configs/releng/root-image/etc/rc.d/functions.d/automated_script | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/releng/root-image/etc/rc.d/functions.d/automated_script b/configs/releng/root-image/etc/rc.d/functions.d/automated_script
index b89ad9e..f3e9018 100644
--- a/configs/releng/root-image/etc/rc.d/functions.d/automated_script
+++ b/configs/releng/root-image/etc/rc.d/functions.d/automated_script
@@ -12,7 +12,7 @@ automated_script ()
fi
if [ ${rt} -eq 0 ]; then
chmod +x /tmp/startup_script
- echo -e '\nif [ $(tty) = "/dev/tty1" ]; then\n /tmp/startup_script\nfi\n' >> /root/.bash_profile
+ echo -e '\nif [ $(tty) = "/dev/tty1" ]; then\n /tmp/startup_script\nfi\n' >> /root/.zprofile
stat_done
else
stat_fail
--
1.7.11.4