aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2008-12-13 14:36:16 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2008-12-13 14:36:16 -0600
commit8bc0328be83a557f02139df8479ba2b4fc1297bd (patch)
tree2851a78855da52f1c10eeff48871d14b920c592b /netboot
parentEnable support klogd and syslogd for netboot (diff)
downloadgenkernel-8bc0328be83a557f02139df8479ba2b4fc1297bd.tar.gz
genkernel-8bc0328be83a557f02139df8479ba2b4fc1297bd.tar.bz2
genkernel-8bc0328be83a557f02139df8479ba2b4fc1297bd.zip
Move udhcpc's script to default location
Diffstat (limited to 'netboot')
-rw-r--r--netboot/linuxrc.x3
1 files changed, 1 insertions, 2 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x
index 5285fa5..da377f5 100644
--- a/netboot/linuxrc.x
+++ b/netboot/linuxrc.x
@@ -10,7 +10,7 @@ export PATH="/usr/sbin:/usr/bin:/sbin:/bin"
BasicSetup() {
#// Copyright year, Build date in YYYYMMDD format, and in MMDDYYYY to make busybox 'date' happy
- MYDATE="`cat /etc/build_date`"
+ MYDATE="`/bin/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)"
@@ -97,7 +97,6 @@ StartUp() {
#// Misc tasks
chmod +x /bin/net-setup
- chmod +x /usr/share/udhcpc/default.script
fi
}