[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:
parent
a76324ceb6
commit
0fdbf31341
@ -12,7 +12,7 @@ automated_script ()
|
|||||||
fi
|
fi
|
||||||
if [ ${rt} -eq 0 ]; then
|
if [ ${rt} -eq 0 ]; then
|
||||||
chmod +x /tmp/startup_script
|
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
|
stat_done
|
||||||
else
|
else
|
||||||
stat_fail
|
stat_fail
|
||||||
|
Loading…
Reference in New Issue
Block a user