aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Delva <adelva@google.com>2020-06-08 11:07:44 -0700
committerAlistair Delva <adelva@google.com>2020-06-08 11:28:39 -0700
commit236fa011f37d2bec5570da0e45a71abe4b569620 (patch)
treeb19e3600884c9791967765fe1631dd884e322c39
parenta3fc125e0326041da16fb5800adbbe0febba798e (diff)
downloadcuttlefish-236fa011f37d2bec5570da0e45a71abe4b569620.tar.gz
Use new swapon_all syntax
This code had bitrotted and was already non-functional, but now we have magic default fstab support, we can remove the complexity and fix zram. Bug: 142424832 Change-Id: Ia150ed407fdf538be8065e5bc0a73c9f4f39d964
-rw-r--r--shared/config/init.vendor.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/config/init.vendor.rc b/shared/config/init.vendor.rc
index 0e10cd2d8..94da76815 100644
--- a/shared/config/init.vendor.rc
+++ b/shared/config/init.vendor.rc
@@ -116,7 +116,7 @@ on property:sys.boot_completed=1
# persist.sys.zram_enabled becomes true after boot,
# we don't want to run swapon_all at that time.
on sys-boot-completed-set && property:persist.sys.zram_enabled=1
- swapon_all /vendor/etc/${ro.boot.fstab_name}.${ro.hardware}
+ swapon_all
service vendor.insmod_sh /vendor/bin/init.insmod.sh
class main