Skip to content

Commit

Permalink
Merge pull request #226 from doktornotor/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgarga committed Dec 12, 2016
2 parents fb91986 + 541f77f commit c92cc43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion net/pfSense-pkg-ntopng/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PORTNAME= pfSense-pkg-ntopng
PORTVERSION= 0.8.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
Expand Down
2 changes: 2 additions & 0 deletions net/pfSense-pkg-ntopng/files/usr/local/pkg/ntopng.inc
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ function ntopng_set_redis_password() {
$password = md5($ntopng_config['redis_password']);
if (ntopng_redis_started()) {
mwexec("{$redis_path}/redis-cli SET ntopng.user.admin.password " . escapeshellarg($password));
// Make sure the preferences menu is accessible (Bug #6999)
mwexec("{$redis_path}/redis-cli SET ntopng.user.admin.group administrator");
mwexec("{$redis_path}/redis-cli save");
} else {
log_error(gettext("[ntopng] Cannot set admin password - redis-server is not running."));
Expand Down

0 comments on commit c92cc43

Please sign in to comment.