[arch-releng] [PATCH 2/2] [configs/releng] Adjust automated_script for zsh
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Wed Aug 8 19:46:22 EDT 2012
Fix FS#31022
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
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
More information about the arch-releng
mailing list