ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FreeBSDAdmin/VPN/mpd-common.sh
Revision: 859
Committed: 2006-08-08T17:28:26-07:00 (18 years, 10 months ago) by douglas
Content type: text/x-sh
File size: 243 byte(s)
Log Message:
More intelligent!

File Contents

# User Rev Content
1 douglas 856 # MPD Interface Common
2     #
3     # Douglas Thrift
4     #
5     # $Id$
6    
7 douglas 857 if [[ -z $interface ]] || [[ EUID -ne 0 ]]; then
8 douglas 856 read -er -p 'name: ' name || exit $?
9     read -er -p 'secret: ' secret || exit $?
10 douglas 857 else
11     read -r name secret < ~/.mpd-nsupdate.key || exit $?
12 douglas 856 fi

Properties

Name Value
svn:keywords Id