Changeset ed5367b in mainline for uspace/srv/sysman/units/unit_cfg.c
- Timestamp:
- 2019-08-07T10:01:13Z (5 years ago)
- Children:
- a097c50
- Parents:
- 68ae40a
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-05 01:52:07)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 10:01:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/units/unit_cfg.c
r68ae40a red5367b 240 240 } 241 241 242 static int unit_cfg_stop(unit_t *unit) 243 { 244 unit_cfg_t *u_cfg = CAST_CFG(unit); 245 assert(u_cfg); 246 247 /* 248 * It makes no sense to stop configuration (i.e. unload it), however, 249 * lets virtually stop it not to make obstructions for potential 250 * restart = reload of configuration. 251 */ 252 unit->state = STATE_STOPPED; 253 return EOK; 254 } 255 242 256 static void unit_cfg_exposee_created(unit_t *unit) 243 257 {
Note:
See TracChangeset
for help on using the changeset viewer.