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
diff --git a/shared/config/init.vendor.rc b/shared/config/init.vendor.rc
index 0e10cd2..94da768 100644
--- a/shared/config/init.vendor.rc
+++ b/shared/config/init.vendor.rc
@@ -116,7 +116,7 @@
# 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