lineage: Complete the rebrand
* TODO: Rebrand cmsdk when it's in a working state
Change-Id: I0d8d573f9e0032110ae3a0f54ebe11a877b83137
diff --git a/prebuilt/common/bin/50-cm.sh b/prebuilt/common/bin/50-lineage.sh
similarity index 85%
rename from prebuilt/common/bin/50-cm.sh
rename to prebuilt/common/bin/50-lineage.sh
index 3154fce..00dcf08 100755
--- a/prebuilt/common/bin/50-cm.sh
+++ b/prebuilt/common/bin/50-lineage.sh
@@ -1,7 +1,7 @@
#!/sbin/sh
-#
-# /system/addon.d/50-cm.sh
-# During a LineageOS 14.1 upgrade, this script backs up /system/etc/hosts,
+#
+# /system/addon.d/50-lineage.sh
+# During a LineageOS 15.0 upgrade, this script backs up /system/etc/hosts,
# /system is formatted and reinstalled, then the file is restored.
#
diff --git a/prebuilt/common/bin/backuptool.functions b/prebuilt/common/bin/backuptool.functions
index 4528a33..dd867c0 100644
--- a/prebuilt/common/bin/backuptool.functions
+++ b/prebuilt/common/bin/backuptool.functions
@@ -5,7 +5,7 @@
export C=/tmp/backupdir
export S=/system
-export V=14.1
+export V=15.0
copy_file() {
cp -dp "$1" "$2"
diff --git a/prebuilt/common/bin/backuptool.sh b/prebuilt/common/bin/backuptool.sh
index b902999..ca823b4 100755
--- a/prebuilt/common/bin/backuptool.sh
+++ b/prebuilt/common/bin/backuptool.sh
@@ -5,7 +5,7 @@
export C=/tmp/backupdir
export S=/system
-export V=14.1
+export V=15.0
# Scripts in /system/addon.d expect to find backuptool.functions in /tmp
cp -f /tmp/install/bin/backuptool.functions /tmp
@@ -34,7 +34,7 @@
if [ ! -r /system/build.prop ]; then
return 0
fi
-if ( ! grep -q "^ro.cm.version=$V.*" /system/build.prop ); then
+if ( ! grep -q "^ro.lineage.version=$V.*" /system/build.prop ); then
echo "Not backing up files from incompatible version: $V"
return 0
fi
diff --git a/prebuilt/common/etc/init.d/00banner b/prebuilt/common/etc/init.d/00banner
index ece3d1f..da6d487 100644
--- a/prebuilt/common/etc/init.d/00banner
+++ b/prebuilt/common/etc/init.d/00banner
@@ -2,7 +2,7 @@
#
# Print startup info
#
-L="log -p i -t cm"
+L="log -p i -t lineage"
$L "_ _ "
$L "| (_)_ __ ___ __ _ __ _ ___ ___ ___ "
@@ -10,4 +10,4 @@
$L "| | | | | | __/ (_| | (_| | __/ (_) \\__ \\"
$L "|_|_|_| |_|\\___|\\__,_|\\__, |\\___|\\___/|___/"
$L " |___/"
-$L "Welcome to Android `getprop ro.build.version.release` / LineageOS-`getprop ro.cm.version`";
+$L "Welcome to Android `getprop ro.build.version.release` / LineageOS-`getprop ro.lineage.version`";
diff --git a/prebuilt/common/etc/init.d/90userinit b/prebuilt/common/etc/init.d/90userinit
index 072063e..fbf3360 100755
--- a/prebuilt/common/etc/init.d/90userinit
+++ b/prebuilt/common/etc/init.d/90userinit
@@ -5,5 +5,5 @@
then
log -p i -t userinit "Executing /data/local/userinit.sh";
/system/bin/sh /data/local/userinit.sh;
- setprop cm.userinit.active 1;
+ setprop lineage.userinit.active 1;
fi;