From 9ff1723dca0a766ca361f74953110919106b685c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 20 Mar 2014 01:22:53 -0400 Subject: miniprokit.sh: Copy /etc/{resolv.conf,hostname}. --- diff --git a/miniprokit.sh b/miniprokit.sh index 2b3bf62..e7773ec 100755 --- a/miniprokit.sh +++ b/miniprokit.sh @@ -199,6 +199,9 @@ cmd_install() $(cat "${root}/var/lib/opkg/lists/trunk_"*) EOF + + [ -r /etc/resolv.conf ] && cp /etc/resolv.conf "${root}/etc" + [ -r /etc/hostname ] && cp /etc/hostname "${root}/etc" } get_pkg() -- cgit v0.9.1