aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'netboot/linuxrc.x')
-rw-r--r--netboot/linuxrc.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x
index 4bd711c..88a2aa7 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="`/bin/cat /etc/build_date`"
+ 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)"
@@ -97,7 +97,7 @@ StartUp() {
#// Hostname
hostname netboot
- if [ -n "`which dropbear 2>/dev/null`" ]
+ if [ -n "$(which dropbear 2>/dev/null)" ]
then
# Setup dropbear (sshd)
echo