summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrouter.customize6
1 files changed, 6 insertions, 0 deletions
diff --git a/router.customize b/router.customize
index b68de63..4b26aa9 100755
--- a/router.customize
+++ b/router.customize
@@ -31,6 +31,12 @@ export LC_ALL=C
rootdir="$1"
+# Create /etc/issue with version info.
+version="$(git show HEAD | sed 1q)"
+cat <<EOF > "$rootdir/etc/issue"
+Mini PC router ($version)
+EOF
+
# Configure network ports. eth0 is WAN and gets its adress using DHCP.
# The rest will serve the LAN and dnsmasq will serve address to LAN via
# DHCP on these ports. The LAN interfaces have a static config.