-DSYSTEM_GENERATOR_PATH=\"$(systemgeneratordir)\" \
-DUSER_GENERATOR_PATH=\"$(usergeneratordir)\" \
-DSYSTEM_SHUTDOWN_PATH=\"$(systemshutdowndir)\" \
+ -DSYSTEM_SLEEP_PATH=\"$(systemsleepdir)\" \
-DSYSTEMD_KBD_MODEL_MAP=\"$(pkgdatadir)/kbd-model-map\" \
-DX_SERVER=\"$(bindir)/X\" \
-DUDEVLIBEXECDIR=\""$(libexecdir)/udev"\" \
arguments[1] = (char*) "pre";
arguments[2] = argv[1];
arguments[3] = NULL;
- execute_directory(SYSTEMD_SLEEP_BINARY_PATH, NULL, arguments);
+ execute_directory(SYSTEM_SLEEP_PATH, NULL, arguments);
if (streq(argv[1], "suspend"))
log_info("Suspending system...");
log_info("System thawed.");
arguments[1] = (char*) "post";
- execute_directory(SYSTEMD_SLEEP_BINARY_PATH, NULL, arguments);
+ execute_directory(SYSTEM_SLEEP_PATH, NULL, arguments);
fclose(f);