Skip to content

Commit

Permalink
prebuilt: Clean up lineage-system.rc
Browse files Browse the repository at this point in the history
 * There is no reference to ANDROID_CACHE now, and
   /persist does not exist on most devices, neither
   can we write to it.

Change-Id: I91af1e6f571ced317d195e3a7901bf4c269486a1
  • Loading branch information
aviraxp authored and luca020400 committed Jul 31, 2020
1 parent 7d6601c commit 939e2e6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions prebuilt/common/etc/init/lineage-system.rc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# LineageOS core functionality
on init
export ANDROID_CACHE /cache
export TERMINFO /system/etc/terminfo

on post-fs-data
Expand All @@ -10,10 +9,6 @@ on post-fs-data
chown root log /dev/fscklogs/log
chmod 0640 /dev/fscklogs/log

on boot
# Persistent properties (only created if persist exists)
mkdir /persist/properties 0770 system system

# bugreport is triggered by holding down volume down, volume up and power
service bugreport /system/bin/dumpstate -d -p -B -z \
-o /data/user_de/0/com.android.shell/files/bugreports/bugreport
Expand Down

0 comments on commit 939e2e6

Please sign in to comment.