chmod a+rwt "$dir" 2> /dev/null
chmod a+rwt "$dir"
--
rm -rf "$RC_LIBEXECDIR"/console/*
rm -rf "$RC_LIBEXECDIR"/console