mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
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>
This commit is contained in:
@@ -7,6 +7,7 @@ STOP=10
|
|||||||
NAME=mysqld
|
NAME=mysqld
|
||||||
|
|
||||||
LOGGER="/usr/bin/logger -p user.err -s -t $NAME --"
|
LOGGER="/usr/bin/logger -p user.err -s -t $NAME --"
|
||||||
|
[ -x "$LOGGER" ] || LOGGER="echo"
|
||||||
|
|
||||||
MYSQLADMIN=/usr/bin/mysqladmin
|
MYSQLADMIN=/usr/bin/mysqladmin
|
||||||
MYSQLD=/usr/bin/$NAME
|
MYSQLD=/usr/bin/$NAME
|
||||||
|
|||||||
Reference in New Issue
Block a user