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

File Contents

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

Properties

Name Value
svn:keywords Id