Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[6.10-RC3] acpi_handler.sh not working after upgrade from 6.9.2 to 6.10-RC3

  • Closed
  • Minor

First of all, sorry for my bad English.

 

The power button of my server is located on the top of my machine and my cat always accidently (in purpose?) short press the power button, resulting my unraid to shutdown.

 

In 6.9.2, I commented a line in   /etc/acpi/acpi_handler.sh to disable the power button action,  worked fine. 


After upgrading to 6.10-RC3 today and I discover that this method is not working anymore. (my cat had shutdown my server twice today)

 

Below is my acpi_handler.sh
========

#!/bin/sh
# Default acpi script that takes an entry for all actions

IFS=${IFS}/
set $@

case "$1" in
  button)
    case "$2" in
#     power) /sbin/init 0
         ;;
      *) logger "ACPI action $2 is not defined"
         ;;
    esac
    ;;
  *)
#    logger "ACPI group $1 / action $2 is not defined"
    ;;
esac

========

 

 

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.