#!/bin/sh set -e case "$1" in configure) . /usr/share/debconf/confmodule db_get librumpdev-pci/hugepages if [ "$RET" = "true" ] ; then db_get librumpdev-pci/nr_hugepages NR_HUGEPAGES="$RET" cat > /etc/sysfs.d/rump_hugepages.conf <&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0