2024-07-09 12:43:55 +00:00
|
|
|
#ifndef _CONFIG_H
|
2024-07-01 10:23:00 +00:00
|
|
|
#define _CONFIG_H
|
|
|
|
|
|
|
|
/* (cat tee wc xargs rev split cp) text buffer */
|
2024-07-09 12:43:55 +00:00
|
|
|
#define BUF_SIZE 32000
|
2024-07-01 10:23:00 +00:00
|
|
|
|
2024-09-01 13:43:41 +00:00
|
|
|
#ifdef _MUSUID_C
|
|
|
|
#define MUTILS_PATH "/bin/mutils"
|
|
|
|
#endif
|
|
|
|
|
2024-07-01 10:23:00 +00:00
|
|
|
#ifdef _SHRED_C
|
2024-07-02 19:48:16 +00:00
|
|
|
/* source of random (shred) */
|
2024-07-01 10:23:00 +00:00
|
|
|
#define RAND_SOURCE "/dev/urandom"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _HEAD_C
|
|
|
|
/* format for printf (head) */
|
|
|
|
#define HEAD_FMT "==> %s <==\n"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _MOUNT_C
|
|
|
|
/* mount config */
|
|
|
|
#define MOUNT_CFG "/etc/fstab"
|
|
|
|
#define MOUNT_DEF_FS "ext4"
|
|
|
|
#define MOUNT_LIST "/proc/mounts"
|
|
|
|
#define MOUNT_OPT_SIZE 512
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _UNAME_C
|
|
|
|
/* Os name for uname */
|
|
|
|
/* #define OS_NAME "unknow" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Options: To disable, comment line */
|
|
|
|
|
|
|
|
/* getloadavg() unavailable in android */
|
|
|
|
#ifndef __ANDROID__
|
|
|
|
#define UPTIME_LOADAVG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|