#!/bin/bash PRESED="/usr/share/lliurex-up-server/smbpresed.txt" # Server rc=0 lliurex-version -t server || rc=1 if [ $rc -eq 0 ] ; then debconf-set-selections $PRESED IS_A_SERVER="True" fi