OSDN Git Service
(root)
/
fulcon
/
Fulcon.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fulcon first commit
[fulcon/Fulcon.git]
/
src
/
lib
/
set-passwd
1
#!/bin/bash
2
3
# Copyright (C) 2015 NIWA Hideyuki
4
5
FULCONDRIVER=`driver-name`
6
PATH=/usr/lib64/fulcon/driver/$FULCONDRIVER:$PATH
7
8
usage() {
9
echo "usage: set-passwd NAME USER"
10
}
11
12
if [ $# -ne 2 ]; then
13
usage
14
exit -1
15
fi
16
17
if [ x"$1" == x"set-passwd" ]; then
18
usage
19
exit -1
20
fi
21
22
. set-passwd $@
23
24
exit 0
25
26