Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: gbentley on May 30, 2013, 10:02:30 AM
-
I used to use a symlink for my centralised kaspersky signatures on SME - now, using 'mount --bind' I need this to run at startup and for life of me can't get 'mount --bind' to work in fstab? Maybe thats two questions :)
-
could you please be more verbose and explain your problem and not your solution?
thank you
-
I run commands at startup by adding them to the 'local' event as described here:
http://wiki.contribs.org/Mount_Network_Shares#Modify_the_SME_local_event
-
tnx mmccarn - looks like just what I need :)
-
gbentley
There is also a simple example of adding a script to
/etc/rc.d/rc.local
here
http://wiki.contribs.org/Wondershaper
This will run at startup
-
Thanks Janet - that worked!
:grin:
-
I've also discovered that an entry in crontab beginning with "@reboot" allows you to run a command once after boot.
-
thank you for your help. you solve the problem and dicuss briefly