When i do: sudo sh /etc/rc.local it works perfect but when i reboot my system, it wont start.
There is my rc.local file:
Code:
#!/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.
hi there everyone!I'm trying to get my shares mounted on bootup and read that rc.local is the bees knees over fstab since it would execute after the network was up. It sounds awesome in theory, but I'm having an issue getting it to work.I edited rc.local to this:!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script w
hi there everyone!I'm trying to get my shares mounted on bootup and read that rc.local is the bees knees over fstab since it would execute after the network was up. It sounds awesome in theory, but I'm having an issue getting it to work.I edited rc.local to this:!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script w
Hi guys i have a problem with a script... this script creates differents GUI with YAD...
I have csv files that has 80-100 columns , I want to convert to sql script files.1st line is field name.
Code:
awk -F"," 'BEGIN{OFS=","} {print "INSERT INTO THEL(id,b,c) value("NR,$1,$2")"}'
How to make script that detect number of fields so i don't need to edit manually for each files.
thanks you
Hi all,
I have a script which checks on my jobs that run on some cluster.
The script, "script.sh", takes as an input the job-id for the job to be checked.
Hi all,
I need to deploy two scripts on around ~100 machines and have only OPSware.
Hello All,
In a Bash Script I'm writing I have a section where I loop through a text file that was
outputted by another script. In the text file some of the strings in there are enclosed with
the BOLD "character sequences" (i.e. "\033[1m" ) and the "OFF" sequence (i.e. "\033[0m" ).
I already solved this issues with Oneiric, somehow with Precise everything is back.
Initially, Ubuntu won't recognize my Wifi Card, after using this codes it does:
Code:
sudo rmmod -f ath5k
sudo rfkill unblock all
sudo modprobe ath5k
Some kind users here assisted me, and provided with this solution:
Please try this:
Quote:
sudo gedit /etc/rc.local
Change it to:
Code:
#!/bin/