aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-07-12 23:06:53 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-07-14 11:29:10 +0200
commitd0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96 (patch)
tree2cd9687cf171a8fe243b279cbe424850f21bb601 /netboot/linuxrc.x
parentgen_funcs.sh: Strip 'function' keyword to match code style (diff)
downloadgenkernel-d0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96.tar.gz
genkernel-d0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96.tar.bz2
genkernel-d0e76cd8e8dd9d1cc70245f8c8ff4d5959409b96.zip
Replace backticks
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
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