[configs/releng] Adjust automated_script for zsh

Fix FS#31022

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2012-08-08 20:44:41 -03:00
parent a76324ceb6
commit 0fdbf31341

View File

@ -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