Posted 01 February 2016 - 09:55 PM
If I have an error that refers to a specific line of the script, is it that many lines down in executed lines or in does it count lines of comments?
Error: File /etc/sensors.d/mkdev.sh, line 6: Invalid keyword
# Here you can set several defaults.
# The number of devices to create (max: 256)
# The owner and group of the devices
# The mode of the devices
# This script doesn't need to be run if devfs is used
if [ -r /proc/mounts ] ; then
if grep -q "/dev devfs" /proc/mounts ; then
echo "You do not need to run this script as your system uses devfs."
Is the error in the line that reads "Number=32, or in the line that reads "if grep -q "/dev devfs" /proc/mounts ; then"?
Desktops: "John2" Custom, Gigabyte F2A88Xm-D3H, AMD 6A-5400K Trinity 3.6Ghz Dual-Core APU, 16Gb DDR3 HyperX Fury 1866Mhz RAM, 120Gb Crucial Force LS SSD OS) Linux Mint 17.3, 320Gb Raid1 array consisting of (1) Seagate ST320LT020-9YG14 & (1) Fujitsu MZH2320B
Francisco: HP pavilion p7-1080t upgraded with 16Gb ram. Windows 7. Used only for Gaming
Server.GaltsGulch: HP Elite 8300 Small Form Factor, i7-3770, 16Gb ram, Kingston SSDNow 120Gb SSD, 3Tb storage HDD, Fedora Linux/Avahi, Headless