printf "$(grep -v "^/bin/bash$" $D/etc/shells)\n" > $D/etc/shells