repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Expand PMF_FN_* macros.
[netbsd-mini2440.git]
/
dist
/
ntp
/
scripts
/
hpadjtime.sh
blob
3de2a40930469bbdd0977081d37b71eff75abf43
1
#! /bin/sh
2
val
=
1
3
if
[
-f
/
bin
/
uname
-o -f
/
usr
/
bin
/
uname
];
then
4
set
`uname -a | tr '[A-Z]' '[a-z]'`
5
case
"
$1
"
in
6
hp-ux
)
case
"
$3
"
in
7
*
.10
.
*)
val
=
1
;;
8
*
.09.03
|
*
.09.10
)
case
"
$5
"
in
9
9000
/
3
*)
val
=
1
;;
10
*)
val
=
0
;;
11
esac
;;
12
*)
val
=
0
;;
13
esac
14
;;
15
*)
16
esac
17
fi
18
exit
$val