#!/bin/bash if [ -f /sys/class/backlight/intel_backlight/brightness ]; then pV=$(cat /sys/class/backlight/intel_backlight/brightness); echo -n "0" >> /sys/class/backlight/intel_backlight/brightness; read; echo -n "$pV" >> /sys/class/backlight/intel_backlight/brightness; exit 0; else exit 1; fi