diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-29 17:53:34 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-03-29 17:53:34 +0800 |
commit | c1b34e975bf5d56afaab5a2db73b5a821cee78d0 (patch) | |
tree | 55389567ab0f27b433896fb30547ec7839b044b5 | |
parent | 408c58ec3136251732b1684bc506d7f314c47f5e (diff) | |
download | pttbbs-c1b34e975bf5d56afaab5a2db73b5a821cee78d0.tar pttbbs-c1b34e975bf5d56afaab5a2db73b5a821cee78d0.tar.gz pttbbs-c1b34e975bf5d56afaab5a2db73b5a821cee78d0.tar.bz2 pttbbs-c1b34e975bf5d56afaab5a2db73b5a821cee78d0.tar.lz pttbbs-c1b34e975bf5d56afaab5a2db73b5a821cee78d0.tar.xz pttbbs-c1b34e975bf5d56afaab5a2db73b5a821cee78d0.tar.zst pttbbs-c1b34e975bf5d56afaab5a2db73b5a821cee78d0.zip |
add installdiskstat
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@747 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/util/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
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/ |