#!/bin/bash

src_package=$(LC_ALL=C dpkg-parsechangelog -SSource)
case "$src_package" in
linux-restricted-generate*)	pkg='lrg' ;;
linux-restricted-signature*)	pkg='lrs' ;;
linux-restricted-modules*)	pkg='lrm' ;;
esac

exec "$0.$pkg" "$@"
