aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2008-12-06 22:01:10 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2008-12-06 22:01:10 -0600
commitf82aebc40c911bd43870172fe8b9e2e9a53309b3 (patch)
tree4d2c5b8bc2d0aaa17fc995f2f2496412a5f1bbf6 /netboot/linuxrc.x
parentremove netboot-specific udhcpc.scripts (diff)
downloadgenkernel-f82aebc40c911bd43870172fe8b9e2e9a53309b3.tar.gz
genkernel-f82aebc40c911bd43870172fe8b9e2e9a53309b3.tar.bz2
genkernel-f82aebc40c911bd43870172fe8b9e2e9a53309b3.zip
Move all netboot logic from catalyst into gk
Diffstat (limited to 'netboot/linuxrc.x')
-rw-r--r--netboot/linuxrc.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x
index 0fe3cd9a..87d04b9f 100644
--- a/netboot/linuxrc.x
+++ b/netboot/linuxrc.x
@@ -12,7 +12,7 @@ BasicSetup() {
export PATH=/usr/sbin:/usr/bin:/sbin:/bin
#// Copyright year, Build date in YYYYMMDD format, and in MMDDYYYY to make busybox 'date' happy
- MYDATE="@@MYDATE@@"
+ MYDATE="`cat /etc/build_date`"
CPYYEAR="$(echo ${MYDATE} | cut -c 1-4)"
BBDATE="$(echo ${MYDATE} | cut -c 5-8)$(echo ${MYDATE} | cut -c 1-4)"
DISDATE="$(echo ${MYDATE} | cut -c 7-8) $(echo ${MYDATE} | cut -c 5-6) $(echo ${MYDATE} | cut -c 1-4)"