#!/bin/bash # Default rc.local for void; add your custom commands here. # # This is run by runit in stage 2 before the services are executed # (see /etc/runit/2). # Set the backlight brightness. echo 5000 >/sys/class/backlight/intel_backlight/brightness # Change console palette. [[ -x /sbin/setcolors ]] && /sbin/setcolors /etc/setcolors.conf # Alert that this host is up. ( sleep 10; [[ -x /opt/bin/pushover-client ]] && /opt/bin/pushover-client -p -1 -m "Boot up: ${HOSTNAME%%.*}" ) &