49ers linebacker Aldon Smith was sentenced Friday to 12 days in jail on DUI charges but will be allowed to serve his sentence on a work crew.