Source Code for Me (s-c.me)

Allows you to paste souce code to blogs! Adapted for Twitter! Here is Search Form in case you missed your code.
Code:
Selected Language:
Show Linenumbers:
Short link for Twitter:
HTML:

HTML view:

Copy Source | Copy HTML
#!/sbin/runscript
    # Copyright 1999-2004 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
 
 
    depend() {
        need net
    }
 
    start() {
        ebegin "Starting The Link Layer Topology Discovery"
        start-stop-daemon --start --background --make-pidfile --pidfile ${PIDFILE} \
            --exec ${LLD2D_BIN} -- ${LLD2D_OPTS}
        eend $?
    }
 
    stop() {
        ebegin "Stopping The Link Layer Topology Discovery"
        start-stop-daemon --stop --quiet --exec ${LLD2D_BIN}
        eend $?
    }
 
    restart() {
        ebegin "Restarting The Link Layer Topology Discovery"
        svc_stop
        sleep 2
        svc_start
        eend $?
    }




Based on Manoli.Net's CodeFormatter. Made by Topbot (c) 2008-2012