projects
/
grml-network.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
read WPASECRET from file [Closes: issue900]
[grml-network.git]
/
sbin
/
grml-router
diff --git
a/sbin/grml-router
b/sbin/grml-router
index
219ae19
..
b959f12
100755
(executable)
--- a/
sbin/grml-router
+++ b/
sbin/grml-router
@@
-11,10
+11,7
@@
CONFIG_FILE=/etc/grml/routersetup
. /etc/grml/net-functions
. /etc/grml/script-functions
-if [ $UID != 0 ]; then
- eerror "Error: become root before starting $0"
- exit 100
-fi
+check4root || exit 1
if ! [ -r $CONFIG_FILE ] ; then
eerror "$CONFIG_FILE could not be read."