Merge branch 'upstream'
[automated-distro-installer] / fai / config / scripts / FLIDAS / 12-iank
1 #!/bin/bash -x
2
3 set -eE -o pipefail
4 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
5
6 if [[ $EUID != 0 ]]; then
7 echo "$0: error: expected to be root."
8 exit 1
9 fi
10
11
12 # this is needed to enable resolvconf, making /etc/resolv.conf be a symlink.
13 # why? i dun know, it\'s really dumb.
14 dpkg-reconfigure -fnoninteractive resolvconf