aboutsummaryrefslogtreecommitdiffstats
path: root/include/paths.h
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2003-06-29 18:35:37 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2003-06-29 18:35:37 +0000
commit884c25d15a315711e0a9dc1efbbf42829746cf09 (patch)
tree0754f4a5c813bf14e8452456b036099cbbec48c5 /include/paths.h
parent3c9b8563579fd04ca520af3f84316761e528a65e (diff)
downloadsrc-884c25d15a315711e0a9dc1efbbf42829746cf09.tar.gz
src-884c25d15a315711e0a9dc1efbbf42829746cf09.zip
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>
Notes
Notes: svn path=/head/; revision=117035
Diffstat (limited to 'include/paths.h')
-rw-r--r--include/paths.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/paths.h b/include/paths.h
index 8b7f6aa868c1..043e61c54c4d 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_ */