]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - rc.d/init.d/random
Drop all Upstart support
[projects/rc-scripts.git] / rc.d / init.d / random
index de45e1b2c0880b5e2122db26308b72dc7402246e..342dcdc673232f27a37686983e183b77c43ed1f8 100755 (executable)
@@ -16,8 +16,6 @@ if is_yes "$VSERVER"; then
        return
 fi
 
-upstart_controlled start stop
-
 random_seed=/var/run/random-seed
 
 poolfile=/proc/sys/kernel/random/poolsize
@@ -29,7 +27,6 @@ start() {
                return
        fi
 
-       emit starting JOB=random
        show "Initializing random number generator"
        busy
        # Carry a random seed from start-up to start-up
@@ -43,7 +40,6 @@ start() {
        touch /var/lock/subsys/random
        deltext
        ok
-       emit --nowait started JOB=random
 }
 
 stop() {
@@ -52,7 +48,6 @@ stop() {
        fi
 
        # Carry a random seed from shut-down to start-up
-       emit stopping JOB=random
        show "Saving random seed"
        busy
        touch $random_seed
@@ -62,7 +57,6 @@ stop() {
        rm -f /var/lock/subsys/random >/dev/null 2>&1
        deltext
        ok
-       emit --no-wait stopped JOB=random
 }
 
 status() {
This page took 0.030463 seconds and 4 git commands to generate.