aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'netboot')
-rw-r--r--netboot/linuxrc.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x
index 0fe3cd9..87d04b9 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)"