307 reputation
1213
bio website
location
age
visits member for 2 years, 3 months
seen Sep 8 at 12:20

Aug
19
awarded  Popular Question
Aug
18
awarded  Popular Question
Jul
16
awarded  Famous Question
Jul
2
awarded  Curious
Jan
26
awarded  Tumbleweed
Jan
22
comment Error in Dansguardian init.d sh script?
Yes precisely what I get too. The init.d script is set to run with sh you see, for whatever reason, hence that's why this line was failing. Thanks for the help getting to bottom of it.
Jan
22
revised Error in Dansguardian init.d sh script?
edited title
Jan
22
comment Error in Dansguardian init.d sh script?
E.g. make a test.sh: echo "Trying it the original way" x=60 x=$[$x-1] echo $x echo "Trying it the new way" y=60 y=$(($y-1)) echo $y". Then try running it as bash test.sh and sh test.sh.
Jan
22
comment Error in Dansguardian init.d sh script?
Thankyou, yes that has got rid of the "Illegal number" message from my shutdown. It's interesting that the method COUNTDOWN=$[$COUNTDOWN-1] works totally fine if script is ran with bash, but if ran with sh it fails, and only your method gives 59.
Jan
22
accepted Error in Dansguardian init.d sh script?
Jan
22
asked Error in Dansguardian init.d sh script?
Jan
19
revised Run Sys V Init daemon as certain user?
deleted 58 characters in body; edited title
Jan
19
revised Run Sys V Init daemon as certain user?
added 472 characters in body
Jan
19
asked Run Sys V Init daemon as certain user?
Jan
15
asked Unplug AC causes anacron to stop. No resumumption if cron.daily had already started?
Jan
14
awarded  Self-Learner
Jan
14
answered mei 0000:00:16.0: init hw failure
Jan
14
comment mei 0000:00:16.0: init hw failure
cat device:0x9c3a, cat vendor: 0x8086, googling gives me: 0x9C3A Intel Management Engine Interface driver 0x8086 Intel Corporation. Also "Lynx Point LP".
Jan
14
comment mei 0000:00:16.0: init hw failure
@MichaelKjörling OK, I guess it could just be like you say, an extra unneeded module from the Ubuntu kernal that my HW has no use for. The laptop does have a couple of problems, and I'm trying to work out which errors are the relevant ones...Regard /sys/devices/pci0000:00/0000:00:16.0, yep plenty of files and directories in there giving irq, modalias etc...which thing to google?
Jan
14
asked mei 0000:00:16.0: init hw failure