Skip to content

Commit

Permalink
make libimp_control optional load on ingenic with majestic (#1261)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec authored Jan 17, 2024
1 parent a5f2697 commit ca3d099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion general/package/majestic/files/S95majestic
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ load_majestic() {
ulimit -c unlimited && echo "|/usr/sbin/sendcoredump.sh" >/proc/sys/kernel/core_pattern
fi

if [ "ingenic" = "$(ipcinfo -v)" ]; then
if [ "ingenic" = "$(ipcinfo -v)" ] && [ -f /etc/webui/imp.conf ]; then
start-stop-daemon -b -m -S -q -p "$PIDFILE" -x /usr/bin/env -- \
LD_PRELOAD=/usr/lib/libimp_control.so $DAEMON_PATH/$DAEMON $DAEMON_ARGS
else
Expand Down

0 comments on commit ca3d099

Please sign in to comment.