#!/bin/bash

set -x

#G-sensor is not in scope, blacklist this module to avoid hybrid sleep hang on broadwell platform.
#LP: 1349655
cat > /etc/modprobe.d/blacklist-gsensor.conf <<EOF
blacklist lis3lv02d
EOF
