Changeset 38c0a9c in mainline
- Timestamp:
- 2010-11-02T22:40:20Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ef4b112
- Parents:
- 065d2d5
- Location:
- uspace/srv/net/netstart
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/netstart/Makefile
r065d2d5 r38c0a9c 35 35 36 36 SOURCES = \ 37 netstart.c \ 38 self_test.c 37 netstart.c 39 38 40 39 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/netstart/netstart.c
r065d2d5 r38c0a9c 32 32 33 33 /** @file 34 *35 34 * Start the networking subsystem. 36 * Perform networking self-test if executed37 * with the -s argument.38 *39 35 */ 40 36 … … 52 48 #include <net/modules.h> 53 49 54 #include "self_test.h"55 56 50 /** Start a module. 57 51 * 58 * @param[in] desc The module description 59 * @param[in] path The module absolute path. 60 * 61 * @returns true on succesful spanwning 62 * @returns false on failure 63 * 52 * @param[in] desc The module description 53 * @param[in] path The module absolute path. 54 * @returns True on succesful spanwning. 55 * @returns False on failure 64 56 */ 65 57 static bool spawn(const char *desc, const char *path) … … 86 78 ERROR_DECLARE; 87 79 88 /* Run self-tests */89 if ((argc > 1) && (str_cmp(argv[1], "-s") == 0))90 ERROR_PROPAGATE(self_test());91 92 80 if (!spawn("networking service", "/srv/net")) 93 81 return EINVAL;
Note:
See TracChangeset
for help on using the changeset viewer.