Browse Source

mariadb: Handle non-existent logger in init

Make sure init script has a fallback when logger is not available.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
lilik-openwrt-22.03
Michal Hrusecky 4 years ago
parent
commit
173314eb8f
No known key found for this signature in database GPG Key ID: 7B7562FE6F4D91EF
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      utils/mariadb/files/mysqld.init

+ 1
- 0
utils/mariadb/files/mysqld.init View File

@ -7,6 +7,7 @@ STOP=10
NAME=mysqld
LOGGER="/usr/bin/logger -p user.err -s -t $NAME --"
[ -x "$LOGGER" ] || LOGGER="echo"
MYSQLADMIN=/usr/bin/mysqladmin
MYSQLD=/usr/bin/$NAME


Loading…
Cancel
Save