[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Disable Analog



You are echoing into an non-existing file. 

OK,

cd /usr/local/sbin/
touch analog
pico analog

then paste the folowing in the file:

#!/bin/sh
exit 0

Ctr+X to exit and "Y" to Save.

then 
chmod +x /usr/local/sbin/analog
 
aljuhani
aljuhani@xxxxxxxxx

======= Original Message =======
Hi Guys,

Im trying to do the following.

You could disable analog, the application and create a dummy in its
place:

  mv /usr/local/sbin/analog /usr/local/sbin/analog.disabled
  echo "#!/bin/sh" > /usr/local/sbin/analog
  echo "exit 0" >> /usr/local/sbin/analog
  chmod +x /usr/local/sbin/analog

But when i type the first echo line (as root) i get the message sh:
!/bin/sh": event not found

Any ideas why please??

Regards

Mark