diff options
author | grant <grant@pkgsrc.org> | 2003-06-23 07:03:49 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-06-23 07:03:49 +0000 |
commit | 5d281c2397de425ed6e9233c6f220e5eb02bf565 (patch) | |
tree | 2bd57e42a29320d80b8c746fff1d34957739433a /pkgtools/rc.subr/files | |
parent | a850c7421b5f9e81e528609547b4df5875e2b7a7 (diff) | |
download | pkgsrc-5d281c2397de425ed6e9233c6f220e5eb02bf565.tar.gz |
Allow this to work on Linux (at least Slackware 8.1).
Diffstat (limited to 'pkgtools/rc.subr/files')
-rw-r--r-- | pkgtools/rc.subr/files/rc.subr | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/pkgtools/rc.subr/files/rc.subr b/pkgtools/rc.subr/files/rc.subr index d96c43b3b8e..7adb7cbfba6 100644 --- a/pkgtools/rc.subr/files/rc.subr +++ b/pkgtools/rc.subr/files/rc.subr @@ -1,4 +1,4 @@ -# $NetBSD: rc.subr,v 1.1.1.1 2003/06/19 16:07:12 grant Exp $ +# $NetBSD: rc.subr,v 1.2 2003/06/23 07:03:50 grant Exp $ # # Copyright (c) 1997-2002 The NetBSD Foundation, Inc. # All rights reserved. @@ -67,11 +67,23 @@ _osname=$(uname -s) case $_osname in SunOS) _RCCMD_chown="/bin/chown" +# _RCCMD_ci="/usr/bin/ci" # not in Solaris 9 +# _RCCMD_co="/usr/bin/co" # not in Solaris 9 _RCCMD_echo="/usr/ucb/echo" +# _RCCMD_systrace="/bin/systrace" # not in Solaris 9 _RCCMD_whoami="/usr/ucb/whoami" _RCARG_psformat="-o pid,comm" _RCARG_ps="-ef" - ;; + ;; + Linux) + _RCCMD_chown="/bin/chown" +# _RCCMD_ci="/usr/bin/ci" # not in Slackware 8.1 +# _RCCMD_co="/usr/bin/co" # not in Slackware 8.1 + _RCCMD_nice=$(which nice) +# _RCCMD_rcs="/usr/bin/rcs" # not in Slackware 8.1 +# _RCCMD_systrace="/bin/systrace" # not in Slackware 8.1 + _RCARG_ps="ax" + ;; esac # |