projects
/
streamdesktop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improvement to config handling
[streamdesktop.git]
/
streamdesktop
diff --git
a/streamdesktop
b/streamdesktop
index c1e58859763df360183da54073021e80550c78cc..7e719e095d377a3ea1b00206f7c948c9a06bb4fc 100755
(executable)
--- a/
streamdesktop
+++ b/
streamdesktop
@@
-31,8
+31,8
@@
fi
# Server side dependencies: icecast2
. config
# Server side dependencies: icecast2
. config
-if
[ "$PASSWORD" = "hackme"
]; then
- echo
Edit ./config
to set up your server, password, and other parameters
+if
! [ -f config
]; then
+ echo
Copy ./config.example into ./config, and edit it
to set up your server, password, and other parameters
exit 1
fi
exit 1
fi