Update S95majestic

pull/1298/head
viktorxda 2024-02-04 21:42:49 +01:00 committed by GitHub
parent e592fd8011
commit 994a0c21c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -8,8 +8,6 @@ DAEMON_ARGS="-s"
load_majestic() {
printf 'Starting %s: ' "$DAEMON"
[ -f $DAEMON_PATH/$DAEMON ] || echo -en "DISABLED, "
[ -f /etc/coredump.conf ] && . /etc/coredump.conf
if [ "$coredump_enabled" ]; then
ulimit -c unlimited && echo "|/usr/sbin/sendcoredump.sh" >/proc/sys/kernel/core_pattern
@ -33,7 +31,6 @@ start() {
stop() {
printf 'Stopping %s: ' "$DAEMON"
[ -f $DAEMON_PATH/$DAEMON ] || echo -en "DISABLED, "
start-stop-daemon -K -q -p "$PIDFILE"
status=$?
if [ "$status" -eq 0 ]; then