#!/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. # uncomment to allow VMWare VM's to access parallel port (will break linux/samba printing) # this is a failed kludge left in place in case VMware get their act together and make # it possible to use a second parallel port on a PCI card with a non-standard port. # /sbin/rmmod -s -v lp # YAK to deal with effing upstart being half-implemented (hellooo?) # samba starts before CUPS, so never gets the printer shares, not even after waiting # a really long time (overnight). This appears to be a 'won't fix' for # lucid (see bug 494141 at launchpad.net). restart smbd exit 0