#!/bin/sh
[ "$1" != "upgrade" ] || exit 0
if grep -q "^/bin/bash$" $D/etc/busybox.links* && [ ! -e $D/bin/bash ]; then
		printf "$(grep -v "^/bin/bash$" $D/etc/shells)\n" > $D/etc/shells
	fi
[ -z "$D" ] && PID=`pidof xinetd` && kill -HUP $PID || true
