#!/bin/sh # First do source of debconf . /usr/share/debconf/confmodule # Only in casper mode rc=0 cat /proc/cmdline | grep -q "casper" ||rc=1 if [ ${rc} -eq 0 ]; then # Second. Try to solve with traditional mechanism # of casper-reconfigure technology casper-reconfigure /target lliurex-grub-custom fi exit 0