diff options
author | gordon <gordon@FreeBSD.org> | 2003-06-29 18:35:37 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-06-29 18:35:37 +0000 |
commit | 9beb6458f555f771d27552db74510cbe89a6ea38 (patch) | |
tree | 0754f4a5c813bf14e8452456b036099cbbec48c5 /include/paths.h | |
parent | 040430fc2ed1d135a2c65f1768d48eb7e4df625a (diff) | |
download | FreeBSD-src-9beb6458f555f771d27552db74510cbe89a6ea38.zip FreeBSD-src-9beb6458f555f771d27552db74510cbe89a6ea38.tar.gz |
Add /rescue bits. This basically encompasses all of bin and sbin along
with a couple of bits from usr.bin in a crunchgen'd binary.
Submitted by: Tim Kientzle <kientzle@acm.org>
Diffstat (limited to 'include/paths.h')
-rw-r--r-- | include/paths.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/paths.h b/include/paths.h index 8b7f6aa..043e61c 100644 --- a/include/paths.h +++ b/include/paths.h @@ -100,4 +100,39 @@ __BEGIN_DECLS const char *getbootfile(void); __END_DECLS +#ifdef RESCUE +#undef _PATH_DEFPATH +#define _PATH_DEFPATH "/rescue:/usr/bin:/bin" +#undef _PATH_STDPATH +#define _PATH_STDPATH "/rescue:/usr/bin:/bin:/usr/sbin:/sbin" +#undef _PATH_SYSPATH +#define _PATH_SYSPATH "/rescue:/sbin:/usr/sbin" +#undef _PATH_BSHELL +#define _PATH_BSHELL "/rescue/sh" +#undef _PATH_CP +#define _PATH_CP "/rescue/cp" +#undef _PATH_CSHELL +#define _PATH_CSHELL "/rescue/csh" +#undef _PATH_HALT +#define _PATH_HALT "/rescue/halt" +#undef _PATH_IFCONFIG +#define _PATH_IFCONFIG "/rescue/ifconfig" +#undef _PATH_MDCONFIG +#define _PATH_MDCONFIG "/rescue/mdconfig" +#undef _PATH_MOUNT +#define _PATH_MOUNT "/rescue/mount" +#undef _PATH_NEWFS +#define _PATH_NEWFS "/rescue/newfs" +#undef _PATH_RCP +#define _PATH_RCP "/rescue/rcp" +#undef _PATH_REBOOT +#define _PATH_REBOOT "/rescue/reboot" +#undef _PATH_RM +#define _PATH_RM "/rescue/rm" +#undef _PATH_VI +#define _PATH_VI "/rescue/vi" +#undef _PATH_WALL +#define _PATH_WALL "/rescue/wall" +#endif /* RESCUE */ + #endif /* !_PATHS_H_ */ |