summaryrefslogtreecommitdiffstats
path: root/init/init.c
Commit message (Collapse)AuthorAgeFilesLines
* init: Move property_set_fd to property_service.cColin Cross2010-04-131-6/+4
| | | | Change-Id: Ic7a19073eae8f353d48cabee80fa9722b35a82b5
* init: Move parser prototypes to parser.hColin Cross2010-04-131-0/+1
| | | | Change-Id: I31db51eb8e8a33a0bd06b41206bc9f9147d16d41
* init: Move device_fd to devices.cColin Cross2010-04-131-4/+4
| | | | Change-Id: I11ed0f3e1b95d2cff4fdbd80b915c01572f76b0e
* init: Move keychords to keychords.cColin Cross2010-04-131-101/+5
| | | | Change-Id: I8fba9f5f73439a451fc961f8111612dff4fb5dfd
* init: Move mtd functions from init.c to util.cColin Cross2010-04-131-72/+0
| | | | Change-Id: I04e8f0ae6cc88af974372872e5617d16e0b1a2c8
* Move filesystem mounting into a new "fs" init levelColin Cross2010-04-131-0/+3
| | | | | | | | Devices with non-MTD storage need to override the filesystem mounting commands in init.rc. Moving them to a new "fs" init level allows a custom init.<device>.rc to handle the mounting. Change-Id: If0e655139b9734650fb798b6eb0a90e2241fc29b
* init: Add support for specifying a services i/o prioritySan Mehat2010-02-261-0/+8
| | | | Signed-off-by: San Mehat <san@google.com>
* init: Support bugreports to SD card in user builds if adb is enabled.Mike Lockwood2010-01-191-15/+22
| | | | | | | | | The rationale being that we do not want this enabled by default, but tying it to adb being enabled allows convenient bugreport collection for savvy users and developers using production devices. Change-Id: I71535b33f0774faf1975c98d106080f2ff12e349 Signed-off-by: Mike Lockwood <lockwood@android.com>
* merge from open-source masterJean-Baptiste Queru2009-09-011-4/+3
|\
| * Allow an onrestart command to stop the current serviceBen Gruver2009-08-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example, service recovery /sbin/recovery onrestart start loadkeys onrestart class_start con onrestart stop recovery Previously, if you had a service like the above, the "onrestart stop recovery" clause would not have any effect, because the restart flag would be re-set after the stop command had executed. This is similar to a service with the "oneshot" keyword, with the critical difference being that it executes the other onrestart commands when the service dies.
| * completed implementation of "trigger" for initJay Freeman (saurik)2009-08-251-3/+1
| |
| * Merge korg/donut into korg/masterJean-Baptiste Queru2009-07-251-8/+49
| |\
* | \ am d4cdd13f: init: Clean up dynamic argument handling for servicesSan Mehat2009-05-201-34/+10
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit 'd4cdd13f6f56f3fe8d8511b609e823925fdd83f9' * commit 'd4cdd13f6f56f3fe8d8511b609e823925fdd83f9': init: Clean up dynamic argument handling for services
| * | init: Clean up dynamic argument handling for servicesSan Mehat2009-05-201-34/+10
| | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | resolved conflicts w/ f24e252903ca0f71c7fbfb135cf17e83e0c2ea90 merge...San Mehat2009-05-201-7/+72
|\ \ \ | |/ /
| * | init: Add the ability to start services with dynamic arguments.San Mehat2009-05-191-6/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To add arguments dynamically to a service, start the service like so: setprop ctl.start service_to_run:arg1 arg2 arg3... To start a service with *no* dynamic arguments, start the service normally: setprop ctl.start service_to_run Dynamic arguments are only supported on 'oneshot' services Signed-off-by: San Mehat <san@google.com>
* | | am 770354d: init: Fix segfault when log_write() was missing an arg to foDima Zavin2009-05-051-1/+1
|\ \ \ | |/ / | | / | |/ |/| | | | | Merge commit '770354d7e6cd471daed426fcf04bf7246e7cb18b' * commit '770354d7e6cd471daed426fcf04bf7246e7cb18b': init: Fix segfault when log_write() was missing an arg to format.
| * init: Fix segfault when log_write() was missing an arg to format.Dima Zavin2009-05-051-1/+1
| | | | | | | | | | | | Also, flag log_write() as a printf-like beast to gcc. Signed-off-by: Dima Zavin <dima@android.com>
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+989
| |
| * auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-989/+0
| |
* | Merge branch 'cupcake'The Android Open Source Project2009-01-091-26/+131
|\ \ | |/
| * auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-26/+131
| |
* | Merge commit 'remotes/korg/cupcake'Jean-Baptiste Queru2008-12-191-14/+7
|\ \ | |/ | | | | | | | | | | Conflicts: init/devices.c logwrapper/logwrapper.c mountd/AutoMount.c
| * Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-14/+7
| |
* | show error message when exec fails during service startupIvan Djelic2008-12-021-1/+3
|/
* Initial ContributionThe Android Open Source Project2008-10-211-0/+891