summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xminiprokit.sh3
1 files changed, 3 insertions, 0 deletions
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()