mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-14 11:23:57 +02: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:
parent
a333d71fd0
commit
173314eb8f
|
@ -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…
Reference in New Issue
Block a user