summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2008-11-27Fix previous broken commitinitd-tools-0.1.3Dan Nicholson1-1/+1
2008-11-02Report errors with more useful messagesDan Nicholson7-38/+41
2008-11-02Add reference count to initd typeDan Nicholson3-3/+14
2008-11-02Use nodes in list instead of duplicating all initd typesDan Nicholson6-42/+121
2008-11-02Also reset errno for the symlink reading loopDan Nicholson1-0/+1
2008-11-02Reset errno before readdir to avoid false errorsDan Nicholson1-0/+1
2008-09-01Fix handling of optional dependenciesinitd-tools-0.1.2DJ Lucas1-2/+4
2008-09-01Correct stop link orderingDJ Lucas1-7/+2
2008-08-31Tear out the buggy dirent d_type code for nowDan Nicholson1-7/+0
2008-06-12Create the rc*.d directories if necessary when creating linksDan Nicholson1-2/+14
2008-06-04Rename libinitd headers with initd- prefix to avoid conflictsDan Nicholson17-41/+41
2008-06-04Include all the libinitd headers from initd.hDan Nicholson5-2/+6
2008-06-04Add basename and dirname wrapper utilitiesDan Nicholson4-5/+65
2008-05-29Don't add scripts to the remove list when they're not activeDan Nicholson1-4/+15
2008-05-29Actually remove the requested servicesDan Nicholson1-1/+9
2008-05-29Use two fields for storing installation/removal statusDan Nicholson5-52/+72
2008-05-28verify_level: Don't set changed bits to activeDan Nicholson1-6/+0
2008-05-28Handle rc bits more correctly when installing and removing linksDan Nicholson1-10/+38
2008-05-28Also allow dstart/dstop keys in initd_is_activeDan Nicholson1-0/+6
2008-05-28Add function initd_clear_rc and refactor with initd_set_rcDan Nicholson2-15/+49
2008-05-28Use changed fields to fix dep solver in remove caseDan Nicholson1-42/+68
2008-05-28Introduce rc change fields, cstart and cstopDan Nicholson3-2/+26
2008-05-27initd_is_active: Take key type instead of sk typeDan Nicholson4-17/+29
2008-05-26recurse_deps: Return NULL on errors, empty list is not errorDan Nicholson1-47/+51
2008-05-22Merge branch 'master' into addDan Nicholson1-0/+3
2008-05-22Don't derefernce members of NULL structuresDan Nicholson1-0/+3
2008-05-22Add functions for installing and removing init.d symlinksDan Nicholson3-1/+244
2008-05-20Move rcpair definitions into separate rc internal headerDan Nicholson2-26/+31
2008-05-20Cache active links when scanning rc?.d directoriesDan Nicholson1-0/+37
2008-05-15New initd members: active start and stop symlinksDan Nicholson3-0/+14
2008-05-02rdep: Recurse and verify dependencies when removingDan Nicholson2-4/+93
2008-05-01initd_copy: Also copy active start/kill levelsDan Nicholson1-0/+2
2008-05-01Rename initd_recurse_deps in preparation for removalDan Nicholson2-4/+4
2008-05-01Change initd_sk_t enum to SK_{START,STOP} to differentiate from RCDan Nicholson3-15/+15
2008-05-01Set active levels after parsing from scriptsDan Nicholson1-0/+3
2008-04-29Merge branch 'master' into depsDan Nicholson1-25/+26
2008-04-29parse: Only convert rc token to integer when it's a single digitDan Nicholson1-25/+26
2008-04-29rdep: Verify the scripts for start/stop at each levelDan Nicholson2-0/+131
2008-04-26New utility function initd_rc_level_charDan Nicholson2-0/+37
2008-04-26Merge branch 'master' into depsDan Nicholson3-19/+24
2008-04-26Constify more functionsDan Nicholson3-17/+20
2008-04-24rdep: Operate on provides rather than nameDan Nicholson1-16/+49
2008-04-24Move initd_provides into initd.c where it belongsDan Nicholson2-20/+20
2008-04-24Make scripts implicitly provide their names as servicesDan Nicholson3-1/+15
2008-04-23rdep: Append all active services to the requested servicesDan Nicholson1-4/+27
2008-04-23rdep: Convert to operating on initd listsDan Nicholson2-36/+37
2008-04-23Add RC_ALL macro to mask all RC levelsDan Nicholson1-0/+2
2008-04-23Add initd_is_active for checking if a script is activeDan Nicholson2-0/+23
2008-04-22Add push macros to mirror pop functionsDan Nicholson3-0/+4
2008-04-22list: Add function initd_list_pop for removing last elementDan Nicholson2-0/+20