Revision: | 856 |
Committed: | 2006-08-08T03:28:50-07:00 (18 years, 10 months ago) by douglas |
Content type: | text/x-sh |
Original Path: | FreeBSDAdmin/VPN/mpd-nsupdate-common.sh |
File size: | 220 byte(s) |
Log Message: | Woo! |
# | Content |
---|---|
1 | # MPD Interface Common |
2 | # |
3 | # Douglas Thrift |
4 | # |
5 | # $Id$ |
6 | |
7 | if [[ EUID -eq 0 ]]; then |
8 | read -r name secret > ~/.mpd-nsupdate.key || exit $? |
9 | else |
10 | read -er -p 'name: ' name || exit $? |
11 | read -er -p 'secret: ' secret || exit $? |
12 | fi |
Name | Value |
---|---|
svn:keywords | Id |