From c1b34e975bf5d56afaab5a2db73b5a821cee78d0 Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 29 Mar 2003 09:53:34 +0000 Subject: add installdiskstat git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@747 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/util/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pttbbs/util/Makefile b/pttbbs/util/Makefile index 6babd188..5dfe6c19 100644 --- a/pttbbs/util/Makefile +++ b/pttbbs/util/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.26 2003/03/29 08:01:49 in2 Exp $ +# $Id: Makefile,v 1.27 2003/03/29 09:53:34 in2 Exp $ BBSHOME?=$(HOME) OSTYPE!=uname @@ -169,6 +169,11 @@ shmctl: shmctl.c $(OBJS) diskstat: diskstat.c $(CC) $(CFLAGS) -o diskstat diskstat.c -ldevstat -lkvm +installdiskstat: diskstat + cp -f diskstat /usr/local/bin/ + chgrp kmem /usr/local/bin/diskstat + chmod 2755 /usr/local/bin/diskstat + install: $(PROGS) install -d $(BBSHOME)/bin/ install -c -m 755 $(PROGS) $(BBSHOME)/bin/ -- cgit v1.2.3