The measure comes after video showed residents in a quake-hit town raiding the warehouse.