Results 1 to 1 of 1

Thread: rc.local entries not running at bootup

  1. #1
    Join Date
    Mar 2011
    Beans
    701

    rc.local entries not running at bootup

    My entries in rc.local won't startup. I've tried adding # in front of !/bin/sh -e, and removing it. No idea what's wrong.

    !/bin/sh -e#
    # 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.


    gtk-redshift
    gtk-redshift


    mkdir /run/dnscrypt
    dnscrypt-proxy --daemonize --user=dnscrypt
    iptables-restore < /etc/iptables.rules


    exit 0
    edit: needed to writ efull path to the executables i guess.
    Last edited by Hungry Man; July 6th, 2013 at 09:11 AM. Reason: solved
    sig

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •