User Tools

Site Tools


install_qnap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
install_qnap [2011/12/24 00:27]
cerberus
install_qnap [2011/12/24 00:29]
cerberus
Line 110: Line 110:
        # Ignore dangling symlinks (if any).        # Ignore dangling symlinks (if any).
            #[ ! -f "$i" ] && continue            #[ ! -f "$i" ] && continue
- 
             case "$i" in             case "$i" in
                 *.sh)                 *.sh)
Line 147: Line 146:
  
   #!/bin/sh   #!/bin/sh
 +  
   case "$1" in   case "$1" in
 +  
   stop)   stop)
         echo "Stop Serviio..."         echo "Stop Serviio..."
         "/opt/serviio/bin/serviio.sh -stop" > /dev/null 2>&1 &         "/opt/serviio/bin/serviio.sh -stop" > /dev/null 2>&1 &
         ;;         ;;
 +  
   start)   start)
         # start Serviio in background mode         # start Serviio in background mode
Line 160: Line 159:
         echo "Start Serviio..."         echo "Start Serviio..."
         ;;         ;;
 +  
   restart)   restart)
         $0 stop         $0 stop
Line 166: Line 165:
         $0 start         $0 start
         ;;         ;;
 +  
   *)   *)
         echo "usage: $0 { start | stop | restart}" >&2         echo "usage: $0 { start | stop | restart}" >&2
         exit 1         exit 1
         ;;         ;;
 +  
   esac   esac
  
Line 209: Line 208:
  
   [/opt/etc/init.d] # ffmpeg   [/opt/etc/init.d] # ffmpeg
 +  
   FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers   FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
   built on Apr 13 2011 20:14:18 with gcc 4.2.3   built on Apr 13 2011 20:14:18 with gcc 4.2.3
install_qnap.txt ยท Last modified: 2012/02/25 17:57 by cerberus