-
- HOSTNAME=''
- [ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf
- [ -r /etc/grml/grml-live.local ] && . /etc/grml/grml-live.local
- [ -n "$HOSTNAME" ] || HOSTNAME=grml
-
- if [ -r /etc/resolv.conf ] ; then
- if [ -d $target/etc/resolvconf/run ] ; then
- cat /etc/resolv.conf >> $target/etc/resolvconf/run/resolv.conf
- elif [ ! -L $target/etc/resolv.conf ] ; then
- cat /etc/resolv.conf >> $target/etc/resolv.conf
- fi
- fi
-