#!/bin/sh -e # -*-mode: sh; tab-width: 8; coding: utf-8-unix -*- # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. dmesg>/var/log/dmesg.log [ -d /usr/local/tmp/rc ] || mkdir -p /usr/local/tmp/rc chmod 1777 /usr/local/tmp/rc for elt in All Host Local ; do sh /usr/local/etc/local.d/Whonix-$elt.rc done > /usr/local/tmp/rc/rc.local.log 2>&1 #[ -f /usr/local/etc/local.d/Whonix-Lati.rc ] && \ # sh /usr/local/etc/local.d/Whonix-Lati.rc timeout 20s tail -f /usr/local/tmp/rc/rc.local.log exit 0