. /usr/lib/lsb/init-functions

echo -e "${WARNING}Post-install in progress${NORMAL}"

echo -e "${INFO} Create vboxsf group for auto-mounted Shared Folders${NORMAL}"

if ( cards list | grep shadow ) ; then \
  if ! (getent group vboxsf > /dev/null 2>&1); then
    groupadd -r -f vboxsf
  fi
fi

log_warning_msg "${WARNING}All users which want to access the auto-mounted Shared Folders have to add to the 'vboxsf' group ${NORMAL}"
