summaryrefslogtreecommitdiffstats
path: root/src/appl/bsd/rpaths.h
blob: b3946772c78c0e3853996f5177715f215ff12833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* fallback pathnames */

#ifdef RPROGS_IN_USR_UCB
#define	UCB_RLOGIN	"/usr/ucb/rlogin"
#define	UCB_RCP	"/usr/ucb/rcp"
#define	UCB_RSH	"/usr/ucb/rsh"
/* all in /usr/ucb/, don't look for /bin/rcp */
#endif

#ifdef RPROGS_IN_USR_BIN
#define UCB_RLOGIN "/usr/bin/rlogin"
#define UCB_RCP "/usr/bin/rcp"
#define UCB_RSH "/usr/bin/rsh"
#endif

#ifdef RPROGS_IN_USR_BSD
#define UCB_RLOGIN "/usr/bsd/rlogin"
#define UCB_RCP "/usr/bsd/rcp"
#define UCB_RSH "/usr/bsd/rsh"
#endif

#ifdef RSH_IS_RCMD
#undef UCB_RSH
#define UCB_RSH "/usr/bin/rcmd"
#endif

#ifdef RSH_IS_REMSH
#undef UCB_RSH
#define UCB_RSH "/usr/bin/remsh"
#endif