g12: Stop declaring/starting services that don't exist
authorNolen Johnson <johnsonnolen@gmail.com>
Fri, 3 May 2024 20:16:14 +0000 (16:16 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Sat, 4 May 2024 02:43:39 +0000 (02:43 +0000)
Change-Id: I4685ac8afd6f513628fa8936eb9f9701f0c41d79

init-files/init.amlogic.system.rc

index e47bfeb2e6313dc2bcc7cf500292db98ff3d657b..05596de5116f04a076da8f17d7b1b5c54b6cedf2 100644 (file)
@@ -19,10 +19,6 @@ on init
     chmod 666 /dev/video_composer.0
     chmod 666 /dev/video_composer.1
 
-    # pppoe
-    mkdir /data/misc/etc 0777
-    mkdir /data/misc/etc/ppp 0777
-
 on boot
     # osd logo legacy path
     chown system graphics /sys/module/fb/parameters/osd_logo_index
@@ -84,7 +80,6 @@ service bugreport /system/bin/dumpstate -d -p -B -z \
 on property:sys.boot_completed=1
     # Enable ZRAM on boot_complete
     swapon_all /vendor/etc/fstab.amlogic
-    start factoryreset
 
 on property:persist.vendor.bt_module=rtk_btusb
     insmod /vendor/lib/modules/rtk_btusb.ko
@@ -95,10 +90,3 @@ on property:persist.vendor.bt_module=btmtk_usb
 on property:persist.vendor.bt_module=sprdbt_tty
     insmod /vendor/lib/modules/uwe5621_bsp_sdio.ko
     insmod /vendor/lib/modules/sprdbt_tty.ko
-
-service pppoe_wrapper /system/bin/pppoe_wrapper
-    class main
-    group system inet
-    disabled
-    oneshot
-    seclabel u:r:pppoe_wrapper:s0