Home
last modified time | relevance | path

Searched refs:lnk (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/hibernate-resume/
Dhibernate-resume-generator.c72 _cleanup_free_ char *service_unit = NULL, *device_unit = NULL, *lnk = NULL; in process_resume() local
83 lnk = strjoin(arg_dest, "/" SPECIAL_SYSINIT_TARGET ".wants/", service_unit); in process_resume()
84 if (!lnk) in process_resume()
87 (void) mkdir_parents_label(lnk, 0755); in process_resume()
88 if (symlink(SYSTEM_DATA_UNIT_DIR "/systemd-hibernate-resume@.service", lnk) < 0) in process_resume()
89 return log_error_errno(errno, "Failed to create symlink %s: %m", lnk); in process_resume()
/systemd-251/src/shared/
Dgenerator.c178 const char *lnk; in generator_write_fsck_deps() local
185lnk = strjoina(dir, "/" SPECIAL_LOCAL_FS_TARGET ".wants/" SPECIAL_FSCK_ROOT_SERVICE); in generator_write_fsck_deps()
187 (void) mkdir_parents(lnk, 0755); in generator_write_fsck_deps()
188 if (symlink(SYSTEM_DATA_UNIT_DIR "/" SPECIAL_FSCK_ROOT_SERVICE, lnk) < 0) in generator_write_fsck_deps()
189 return log_error_errno(errno, "Failed to create symlink %s: %m", lnk); in generator_write_fsck_deps()