Announcement

Collapse
No announcement yet.

Autostart clamfs.xml

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Autostart clamfs.xml

    Hi ,

    does anyone know how to autostart clamfs.xml ? I know how to autostart a program,
    but a xml file ... ? I've googled a bit and found something under /etc/rc.local
    Here my rc.local :

    Code:
    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    sudo update-rc.d clamfs /etc/clamfs/clamfs.xml
    exit 0
    But something must be wrong, no autostart of clamfs.xml at boot
    Can someone help me with editing and understanding to get it work ?

    Best regards,

    Universe777

    #2
    Re: Autostart clamfs.xml

    I found it, it's really easy ...

    /etc/rc.local has to look like this :

    Code:
    !/bin/sh -e
    #
    rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    clamfs /etc/clamfs/clamfs.xml
    exit 0
    Sweet

    Comment

    Working...
    X