Commit Graph

19 Commits

Author SHA1 Message Date
Ricardo Cerqueira
6698e5ebdb init.cm.rc: Fix startup banner, and move sysinit here
"getprop" depends on the presence of the property workspace
env var, which is created by the first starting service. Why
not make that sysinit itself? (\/) (°,,,°) (\/)
2012-11-23 17:15:16 +00:00
James Sullins
eb7799c1b6 add userinit script(s) support
Allow user to provide userinit.sh and/or userinit.d/*
scripts under /data/local to be run on each boot.

Change-Id: I96f3034bcdea8d4cc75929d21b69efa31c1cb108
2012-04-10 11:40:12 -07:00
Steve Kondik
25d7ca1628 cm: Rename modversion to cm.version
Change-Id: I73da7816fec34e892ee54e1782a18ec1c42863b4
2011-12-29 15:29:34 -08:00
Ricardo Cerqueira
e1f3738e7c CM9: initial CM vendor setup for Android 4 2011-11-27 20:15:37 +00:00
Giulio Cervera
91d5b38230 cm: updated 'download space check' init script
increase required space needed for market downloads from ~20MB
to ~60MB (~105MB if system dalvik is on /cache)

Change-Id: I52fcd648374db4bf73ff478e9991a6a3162521d5
2011-11-02 15:53:15 +01:00
Steve Kondik
4ff97d51cb Quiet down this init script
Change-Id: I007e4e2bb5c0dbad233ed2655cf941d51064d901
2011-06-18 12:42:06 -04:00
Giulio Cervera
052a7b2e02 cm: remove tmp file on boot
Change-Id: I5bf329663e675fa98e8e269a67b56fc28d37591e
2011-04-26 01:05:34 +02:00
Steve Kondik
8efdc7e86a Merge "userinit: run-parts from /data/local/userinit.d" into gingerbread 2011-01-30 19:43:54 +00:00
Steve Kondik
05ca4306b1 Merge "cm: bind mount DOWNLOAD_CACHE to /data if /cache is less then 20MB" into gingerbread 2011-01-30 19:11:06 +00:00
Giulio Cervera
c27aa964e6 cm: slight check on modules load
Change-Id: I4847c8193ebb44e2b25a02c8af05b544e7b10a47
2011-01-29 20:27:33 +01:00
Giulio Cervera
de7b80fdf1 cm: bind mount DOWNLOAD_CACHE to /data if /cache is less then 20MB
this is useful for all user which want to use cMTD or static
  partition size (like alpharev) to assign more space to /data
  reducing /cache size

Change-Id: Ib251c9bea1dea50b6c444df977aa605e58008c41
2011-01-29 19:04:18 +01:00
OlegKrikun
cab30bca69 userinit: run-parts from /data/local/userinit.d
Change-Id: I48ec924b1023500af27dad7a822be5ab9371be7c
2011-01-22 16:36:34 +03:00
Giulio Cervera
a843bbde3c mountsd: Relax partition checks
Removed label requirement, cause too many trouble on user
 The 2nd SD Card partition will be mounted as sd-ext with ext3fs
  (there are some problem with ext4, we stay on 3 until 4 problem
  will be sorted)

Change-Id: I87e53d1714d84fbdafeb80599ebb3e62b3a24b1e
2011-01-20 16:31:08 +01:00
Giulio Cervera
8ba581ead2 updated 05mountsd script:
check for mmc device type = SD
 mount sd-ext partition by label = sd-ext
 we are smart, so only ext4 support
 removed wait for device

Change-Id: Ie1ee2de3365d5515030d46801099418607e1265e
2011-01-01 18:57:09 -05:00
Firerat
5a83cc4a31 e2fsck returns exit 1 if filesystem is repaired
credits: Ohsaka and NLJ of xda
http://goo.gl/SJNk
2010-09-20 03:36:24 +01:00
Firerat
c74211374a install init.d/05mountsd script, with correct e2fsck exitcode 2010-09-19 15:30:05 -04:00
Steve Kondik
fcab753014 cm: Add support for /data/local/userinit.sh 2010-08-17 12:11:48 -04:00
Steve Kondik
9e0208ce64 Some apps are requiring IPv6 now for some reason. 2010-07-11 02:17:06 -04:00
Steve Kondik
8794d1afc9 Add init.d stuff. 2010-07-05 23:09:52 -04:00