summaryrefslogtreecommitdiffstats
path: root/package/gnuconfig/uname
blob: 0627f8204cdcc24e8e6897f2c0a8a6eda140753e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# uname(1) simulator, inspired by Pavel Roskin.

[ $# -ne 1 ] && exec sh $0 -s
[ $1 = -m ] && echo 4400
[ $1 = -r ] && echo 4.0
[ $1 = -s ] && echo iainfo2
[ $1 = -v ] && echo 3.0
[ $1 = -p ] && echo "Pentium III(TM)-ISA/PCI"

exit 0