X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=initd%2Finit.h;h=123e11460598d6f3c3d064accb34b23df1375634;hp=1321cf8f9418e6cfb27155e627145f6bc8d2bf0f;hb=08cd2c661ea6ce378ce7a6ff37d11220d65e2c5f;hpb=916f95cb58604038695347ee41a430d8ca1f0556 diff --git a/initd/init.h b/initd/init.h index 1321cf8..123e114 100644 --- a/initd/init.h +++ b/initd/init.h @@ -14,10 +14,23 @@ #ifndef _INIT_H__ #define _INIT_H__ +#include + #include "../log.h" +#ifndef EARLY_PATH +#define EARLY_PATH "/usr/sbin:/sbin:/usr/bin:/bin" +#endif + void preinit(void); void early(void); int mkdev(const char *progname, int progmode); +#ifdef ZRAM_TMPFS +int mount_zram_on_tmp(void); +#else +static inline int mount_zram_on_tmp(void) { + return -ENOSYS; +} +#endif #endif