View Single Post
Posts: 235 | Thanked: 89 times | Joined on Oct 2009 @ italy
#371
Originally Posted by shapeshifter View Post
Have you set
Code:
chmod +x /home/user/delete_syslog_script.sh
to make it runnable?
yes, I did
Also, I'm unsure if it's a good idea to use the /bin/sh shebang. Afaik, you should be using /bin/bash and let maemo's symlink to ash work.
why bash is better than sh?
I should change my script in:
Code:
#!/bin/bash
yes pipe (sorry, I'm using opera browse and I can't use pipe symbol) rm /var/log/syslog
right?
anyway, thak you for your reply shapeshifter
__________________
If you found my post useful please thank me, I appreciate!