From edc945a68cb7e2d74b6cdfa0de33bc382be70c2b Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 15 Jan 2020 11:31:06 +0300 Subject: sinit: remove pre shutdown hook --- core/sinit/files/sinit.pre.shutdown | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 core/sinit/files/sinit.pre.shutdown (limited to 'core/sinit/files/sinit.pre.shutdown') diff --git a/core/sinit/files/sinit.pre.shutdown b/core/sinit/files/sinit.pre.shutdown deleted file mode 100644 index af0d6f4f..00000000 --- a/core/sinit/files/sinit.pre.shutdown +++ /dev/null @@ -1,10 +0,0 @@ -if [ "$SINIT_SHUTDOWN_HOOKS" = 1 ]; then - case "$1" in - reboot|poweroff) - ;; - *) - echo "Invalid action '$1' for rc.shutdown" 1>&2 - exit 1 - ;; - esac -fi -- cgit v1.2.3