aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Assmann <sassmann@kpanic.de>2018-03-23 11:38:33 +0100
committerStefan Assmann <sassmann@kpanic.de>2018-03-23 11:38:33 +0100
commit35cebb9ebafe812476d2491b96e98f9b233259d6 (patch)
treed39d915a9e0729a718617f854d6546f6289a2e73
parenta4e7995f1f131e2bc5723a823fc3ef832c2c2d12 (diff)
downloadandroid_external_bash-35cebb9ebafe812476d2491b96e98f9b233259d6.tar.gz
android_external_bash-35cebb9ebafe812476d2491b96e98f9b233259d6.tar.bz2
android_external_bash-35cebb9ebafe812476d2491b96e98f9b233259d6.zip
bashrc: change cm to lineage
HOSTNAME is not set correctly as it still queries the old cm property. Use ro.lineage.device now. Change-Id: I8596de5b7605210977265ed25cfc3ad52465b7d6
-rw-r--r--etc/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bashrc b/etc/bashrc
index c0b8f16..9f814ed 100644
--- a/etc/bashrc
+++ b/etc/bashrc
@@ -6,7 +6,7 @@
# anything or bad things will happen !
export HOME=/sdcard
-export HOSTNAME=$(getprop ro.cm.device)
+export HOSTNAME=$(getprop ro.lineage.device)
export TERM=xterm
export TMPDIR=/data/local/tmp
export USER=$(id -un)