diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-01-13 05:17:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-01-13 05:17:26 -0600 |
commit | e32d9c17674f45bf63ca004e6ba8a79fffcb1701 (patch) | |
tree | 4834cb151b5d5e4d585dbf4c0e2cfaa982f1b5db | |
parent | 737ddb96ffc10d6f55951dcead5a6212ee67329a (diff) | |
download | ulab-e32d9c17674f45bf63ca004e6ba8a79fffcb1701.tar.gz ulab-e32d9c17674f45bf63ca004e6ba8a79fffcb1701.zip |
Fix serial server init file
-rw-r--r-- | servers/serial_server_lin/debian/ulab-serialserver.init | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/servers/serial_server_lin/debian/ulab-serialserver.init b/servers/serial_server_lin/debian/ulab-serialserver.init index b2c1e35..cdb828e 100644 --- a/servers/serial_server_lin/debian/ulab-serialserver.init +++ b/servers/serial_server_lin/debian/ulab-serialserver.init @@ -1,18 +1,18 @@ #!/bin/sh ### BEGIN INIT INFO -# Provides: ulab-fpgaserver +# Provides: ulab-serialserver # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_fs # Should-Start: console-screen kbd acpid hal krb5-kdc nis # Should-Stop: console-screen kbd # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: uLab FPGA Server -# Description: uLab FPGA Server +# Short-Description: uLab Serial Server +# Description: uLab Serial Server ### END INIT INFO -# /etc/init.d/ulab-fpgaserver: start or stop the uLab FPGA Server +# /etc/init.d/ulab-serialserver: start or stop the uLab Serial Server # -# description: uLab FPGA Server +# description: uLab Serial Server # . /lib/lsb/init-functions @@ -20,11 +20,11 @@ set -e PATH=/opt/trinity/bin:/usr/bin:/sbin:/usr/sbin:/bin -DAEMON=/opt/trinity/bin/ulab_fpgaserver -PIDFILE=/var/run/ulab_fpgaserver.pid -UPGRADEFILE=/var/run/ulab_fpgaserver.upgrade +DAEMON=/opt/trinity/bin/ulab_serialserver +PIDFILE=/var/run/ulab_serialserver.pid +UPGRADEFILE=/var/run/ulab_serialserver.upgrade -DESC="uLab FPGA Server" +DESC="uLab Serial Server" # If we upgraded the daemon, we can't use the --exec argument to # start-stop-daemon since the inode will have changed. The risk here is that @@ -60,13 +60,13 @@ case "$1" in ;; restart) - /etc/init.d/ulab-fpgaserver stop + /etc/init.d/ulab-serialserver stop if [ -f $PIDFILE ]; then if stillrunning; then exit 1 fi fi - /etc/init.d/ulab-fpgaserver start + /etc/init.d/ulab-serialserver start ;; reload) @@ -80,7 +80,7 @@ case "$1" in ;; force-reload) - /etc/init.d/ulab-fpgaserver reload + /etc/init.d/ulab-serialserver reload ;; stop) @@ -100,7 +100,7 @@ case "$1" in ;; *) - echo "Usage: /etc/init.d/ulab-fpgaserver {start|stop|restart|reload|force-reload}" + echo "Usage: /etc/init.d/ulab-serialserver {start|stop|restart|reload|force-reload}" exit 1 ;; esac |