opkg update && opkg install ca-certificates zsh curl git-http sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" sed -i -- 's:/bin/ash:/usr/bin/zsh:g' /etc/passwd # -- reboot, all done.
Great script, I had to modify the sed command to work for my Pineapple Tetra, which runs off OpenWRT also.
Adding the /usr/ segment would prevent logging in at all.
But, thanks for the provided script! Saved so much time!
Cool, works also under OpenWrt 18.06.2
logged out, and in again, and Oh-My-ZSH was working ------------------>Thanks