summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-08-08 20:44:41 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-08-08 20:45:50 -0300
commit0fdbf313415e28ebc96e1fb5da7577b996ab6aa1 (patch)
tree3bff7799a20989b9c7320233fe5388989dd80a6c
parenta76324ceb6795eb322a79e1a406ac094fe4600ca (diff)
[configs/releng] Adjust automated_script for zsh
Fix FS#31022 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rw-r--r--configs/releng/root-image/etc/rc.d/functions.d/automated_script2
1 files changed, 1 insertions, 1 deletions
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