/usr/lib/systemd/system-sleep/trackpad

#!/bin/bash
if [ "${1}" == "post" ]; then
  echo -n none > /sys/devices/platform/i8042/serio1/drvctl
  sleep 1
  echo -n reconnect > /sys/devices/platform/i8042/serio1/drvctl
fi

/usr/lib/systemd/system-sleep/wifi

#!/bin/bash
if [ "${1}" == "post" ]; then
  echo 1  | sudo tee /sys/bus/pci/rescan
  sleep 1
  systemctl stop NetworkManager&&sleep 1&&systemctl start NetworkManager
fi

の各ファイルを作成後chmod +xしてあげると良い。