opendingux: Properly detect interactive shells in /etc/profile