#!/bin/sh

if ischroot; then
	depmod $(dpkg-query --show --showformat='${Version}' linux-image-raspi | cut -d '-' -f1)
else
	depmod -a
fi
