File: id

package info (click to toggle)
firedns 0.9.12-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,192 kB
  • ctags: 322
  • sloc: ansic: 4,026; sh: 964; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#phase init
dispn "Checking for id..."
if /usr/xpg4/bin/id 2>/dev/null; then
	disp "found, /usr/xpg4/bin/id"
	ID="/usr/xpg4/bin/id"
elif id 2>/dev/null; then
	disp "found, id"
	ID="id"
else
	disp "not found, aborting"
	exit 1
fi