[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:50965] 自動起動が出来ない。



miya$B$H?=$7$^$9!#(B

 

debian$B5/F0;~!"$U$?$D$N%"%W%j%1!<%7%g%s$r<+F05/F0$9$k$?$a!"5/F0%9%/%j%W%H$r:n@.$7$^$7$?!#(B

$B$=$l$>$l$rC1FH$G%F%9%H$7$?$H$3$m$I$A$i$b@5>o$K5/F0$5$l$k$N$G$9$,N>J}$@$HJRJ}$,5/F0$5$l(B

$B$^$;$s!#2?$+$,6%9g$7$F$$$k$b$N$H;W$o$l$^$9$,!"5fL@$G$-$:$K$$$^$9!#(B

$B0J2<$K!"5/F0%9%/%j%W%H$NFbMF$HEPO?J}K!$J$I$r5-=R$7$^$9!#(B

------------------------------------------------------------

$B-!!!(B/etc/init.d/intserver_function

 

#! /bin/sh

 

### BEGIN INIT INFO

# Provides:                          makedev

# Required-Start:    $local_fs

# Required-Stop:    $local_fs

# Default-Start:      2 3 4 5

# Default-Stop:                     0 1 6

# Short-Description:             Creates device files in /dev

### END INIT INFO

 

N=/etc/init.d/intserver_function

PATH=/usr/bin

 

set -e

 

case "$1" in

  start)

              cd /usr/bin

              ./intserver_function

              ;;

  stop|reload|restart|force-reload)

              ;;

  *)

              echo "Usage: $N {start|stop|restart|force-reload}" >&2

              exit 1

              ;;

esac

 

exit 0

------------------------------------------------------------

$B-"!!!!(B/etc/init.d/tcppipe

#! /bin/sh

 

### BEGIN INIT INFO

# Provides:                          makedev

# Required-Start:    $local_fs

# Required-Stop:    $local_fs

# Default-Start:      2 3 4 5

# Default-Stop:                     0 1 6

# Short-Description:             Creates device files in /dev

### END INIT INFO

 

N=/etc/init.d/tcppipe

PATH=/usr/sbin

 

set -e

 

case "$1" in

  start)

              cd /usr/bin

              tcpdump -Xn -s 1600 -l | ./u-server_b 2000

              ;;

  stop|reload|restart|force-reload)

              ;;

  *)

              echo "Usage: $N {start|stop|restart|force-reload}" >&2

              exit 1

              ;;

esac

 

exit 0

------------------------------------------------------------

$B>e5-0LCV$K5/F0%9%/%j%W%H$r:n@.8e!"(B

 

update-rc.d intserve_function defaults 90

update-rc.d tcppipe defaults 98

 

$B$H$7!"0J2<$K%j%s%/$,:n@.$5$l$?$N$r3NG'$7$^$7$?!#(B

 

/etc/rc0.d/K90intserver_function

/etc/rc1.d/K90intserver_function

/etc/rc2.d/S90intserver_function

/etc/rc3.d/S90intserver_function

/etc/rc4.d/S90intserver_function

/etc/rc5.d/S90intserver_function

/etc/rc6.d/K90intserver_function

 

/etc/rc0.d/K98tcppipe

/etc/rc1.d/K98tcppipe

/etc/rc2.d/S98tcppipe

/etc/rc3.d/S98tcppipe

/etc/rc4.d/S98tcppipe

/etc/rc5.d/S98tcppipe

/etc/rc6.d/K98tcppipe

 

$B%j%V!<%H$7$?8e(B ps ax $B$G3NG'$7$?$H$3$m(Bintserver_function$B$O5/F0$5$l%$%Y%s%HBT$A$H$J$C$F$$$k$,(B

tcppipe$B!J(Btcpdump$B$*$h$S(Bu-server_b$B!K$O5/F0$5$l$F$$$^$;$s!#(B

$B:n@.$7$?$U$?$D$N%"%W%j%1!<%7%g%s!J(Bintserver_function$B$*$h$S(Bu-server_b$B!K$O$=$l$>$l(B

/usr/bin $B$K3JG<$7$F$$$^$9!#(B