DS710> cd /opt/etc/init.d
DS710> ls
S20dbus S99vlc
DS710> mv S99vlc /usr/local/etc/rc.d/S99vlc
DS710> ls
S20dbus
DS710> cd /usr/local/etc/rc.d
DS710> ls
S99vlc
DS710>
BusyBox v1.1.0 (2010.03.13-07:52+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
DS710> ps | grep vlc
9141 root 288 S grep vlc
DS710>
DS710>
DS710> pwd
/root
DS710> cd ..
DS710> cd /usr/local/etc/rc.d/
DS710> ls
S99vlc
DS710> ./S99vlc
DS710> VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i386-pc-linux-gnu' '--host=i686-linux-gnu' '--target=i686-linux-gnu' '--prefix=/opt' '--enable-v4l' '--disable-v4l2' '--enable-bonjour' '--disable-x264' '--enable-dvbpsi' '--enable-a52' '--enable-dvdnav' '--with-dvdnav-config-path=/home/slug/optware/syno-i686/staging/opt/bin' '--enable-faad' '--enable-flac' '--disable-gnutls' '--enable-mpc' '--enable-ncurses' '--enable-ogg' '--enable-png' '--disable-remoteosd' '--enable-shout' '--enable-speex' '--enable-vorbis' '--disable-alsa' '--disable-dca' '--disable-glx' '--disable-gnomevfs' '--disable-libcdio' '--disable-libcddb' '--disable-screen' '--disable-sdl' '--disable-wxwidgets' '--disable-skins2' '--disable-x11' '--disable-nls' '--disable-static' 'build_alias=i386-pc-linux-gnu' 'host_alias=i686-linux-gnu' 'target_alias=i686-linux-gnu' 'CC=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-gcc' 'LDFLAGS= -L/home/slug/optware/syno-i686/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/slug/optware/syno-i686/staging/opt/lib ' 'CPPFLAGS=-O2 -O2 -pipe -I/home/slug/optware/syno-i686/staging/opt/include -I/home/slug/optware/syno-i686/staging/opt/include/ncurses' 'CPP=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-gcc -E' 'CXX=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-g++' 'PKG_CONFIG_PATH=/home/slug/optware/syno-i686/staging/opt/lib/pkgconfig'
[00000001] main libvlc debug: translation test: code is "C"
[00000356] main interface: creating httpd
DS710>
DS710>
DS710> ps | grep vlc
9145 admin 2892 S vlc -I http
9150 admin 2892 S vlc -I http
9151 admin 2892 S vlc -I http
9152 admin 2892 S vlc -I http
9153 admin 2892 S vlc -I http
9154 admin 2892 S vlc -I http
9155 admin 2892 S vlc -I http
9156 admin 2892 S vlc -I http
9157 admin 2892 S vlc -I http
9158 admin 2892 S vlc -I http
9160 admin 2892 S vlc -I http
9161 admin 2892 S vlc -I http
9163 root 292 R grep vlc
DS710>
DS710>
DS710>
DS710> pwd
/usr/local/etc/rc.d
DS710> ls -ltr
-rwxrwxrwx 1 root root 51 Apr 12 22:07 S99vlc
DS710> cd ..
DS710> ls -l
drwxr-xr-x 2 root root 4096 Apr 14 00:08 rc.d
DS710> cd ..
DS710> ls -l
drwxr-xr-x 3 root root 4096 Apr 14 00:04 etc
DS710> cd ..
DS710> ls -l
drwxr-xr-x 2 root root 4096 Feb 15 2004 bin
lrwxrwxrwx 1 root root 4 Feb 15 2004 lib -> /lib
drwxr-xr-x 3 root root 4096 Apr 14 00:03 local
drwxr-xr-x 2 root root 4096 Feb 15 2004 sbin
drwxr-xr-x 4 root root 4096 Feb 15 2004 share
drwxr-xr-x 22 root root 4096 Feb 15 2004 syno
DS710>
echo "Test VLC" >>/root/test.vlc
#!/bin/sh
echo "Script angestartet" >>/root/vlc.txt
su admin -c "dbus-launch vlc -I http -d"
DS710> ll
drwxr-xr-x 6 root root 4096 Apr 14 21:56 .
drwxr-xr-x 25 root root 4096 Apr 14 21:58 ..
drwxrwxrwx 3 root root 4096 Mar 20 10:23 .cache
drwx------ 3 root root 4096 Mar 20 10:23 .config
drwxrwxrwx 3 root root 4096 Mar 20 10:23 .local
drwx------ 2 root root 4096 Apr 12 21:45 .mc
-rw-r--r-- 1 root root 396 Sep 4 2003 .profile
-rw-r--r-- 1 root root 0 Apr 7 22:35 ipkg
DS710>
DS710> cd /usr/local/etc/rc.d
DS710> ll
drwxr-xr-x 2 root root 4096 Apr 15 19:57 .
drwxr-xr-x 3 root root 4096 Apr 14 00:04 ..
-rwxrwxrwx 1 root root 93 Apr 14 22:06 S99vlc.sh
DS710>reboot
DS710> ll
drwxr-xr-x 6 root root 4096 Apr 15 20:17 .
drwxr-xr-x 25 root root 4096 Apr 15 20:19 ..
drwxrwxrwx 3 root root 4096 Mar 20 10:23 .cache
drwx------ 3 root root 4096 Mar 20 10:23 .config
drwxrwxrwx 3 root root 4096 Mar 20 10:23 .local
drwx------ 2 root root 4096 Apr 12 21:45 .mc
-rw-r--r-- 1 root root 396 Sep 4 2003 .profile
-rw-r--r-- 1 root root 0 Apr 7 22:35 ipkg
-rw-r--r-- 1 root root 38 Apr 15 20:19 vlc.txt
DS710>
DS710> ps | grep vlc
9128 root 292 S grep vlc
DS710> vi vlc.txt
Script angestartet
Script angestartet
DS710>
#!/bin/sh
echo "Script angestartet" >>/root/vlc.txt
killall vlc
echo "ggf. noch gestarteter vlc beendet" >>/root/vlc.txt
su admin -c "dbus-launch vlc -I http -d"
echo "VLC gestartet" >>/root/vlc.txt
ps | grep vlc >>/root/vlc.txt
echo "Script abgeschlossen" >>/root/vlc.txt
DS710> ./S99vlc.sh
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i386-pc-linux-gnu' '--host=i686-linux-gnu' '--target=i686-linux-gnu' '--prefix=/opt' '--enable-v4l' '--disable-v4l2' '--enable-bonjour' '--disable-x264' '--enable-dvbpsi' '--enable-a52' '--enable-dvdnav' '--with-dvdnav-config-path=/home/slug/optware/syno-i686/staging/opt/bin' '--enable-faad' '--enable-flac' '--disable-gnutls' '--enable-mpc' '--enable-ncurses' '--enable-ogg' '--enable-png' '--disable-remoteosd' '--enable-shout' '--enable-speex' '--enable-vorbis' '--disable-alsa' '--disable-dca' '--disable-glx' '--disable-gnomevfs' '--disable-libcdio' '--disable-libcddb' '--disable-screen' '--disable-sdl' '--disable-wxwidgets' '--disable-skins2' '--disable-x11' '--disable-nls' '--disable-static' 'build_alias=i386-pc-linux-gnu' 'host_alias=i686-linux-gnu' 'target_alias=i686-linux-gnu' 'CC=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-gcc' 'LDFLAGS= -L/home/slug/optware/syno-i686/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/slug/optware/syno-i686/staging/opt/lib ' 'CPPFLAGS=-O2 -O2 -pipe -I/home/slug/optware/syno-i686/staging/opt/include -I/home/slug/optware/syno-i686/staging/opt/include/ncurses' 'CPP=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-gcc -E' 'CXX=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-g++' 'PKG_CONFIG_PATH=/home/slug/optware/syno-i686/staging/opt/lib/pkgconfig'
[00000001] main libvlc debug: translation test: code is "C"
DS710> vi /root/vlc.txt
Script angestartet
ggf. noch gestarteter vlc beendet
VLC gestartet
9219 admin Z [vlc]
9235 root 284 S /bin/sh ./S99vlc.sh
9245 admin 1820 R vlc -I http -d
9248 root 300 S grep vlc
Script abgeschlossen
DS710> vi /root/vlc.txt
Script angestartet
ggf. noch gestarteter vlc beendet
VLC gestartet
9245 admin Z [vlc]
9287 root 268 S sh -c /usr/local/etc/rc.d/S99vlc.sh stop > /dev/null
9288 root 276 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh stop
9298 admin 824 D vlc -I http -d
9301 root 300 S grep vlc
Script abgeschlossen
Script angestartet
ggf. noch gestarteter vlc beendet
VLC gestartet
4593 root 264 S sh -c /usr/local/etc/rc.d/S99vlc.sh start > /dev/null
4594 root 284 R /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
4832 root 288 S grep vlc
Script abgeschlossen
DS710> vi /usr/local/etc/rc.d/S99vlc.sh
#!/bin/sh
echo "Script angestartet" >>/root/vlc.txt
case "$1" in
'start')
echo "Starting VLC Server" >>/root/vlc.txt
ps | grep vlc >>/root/vlc.txt
su admin -c "dbus-launch vlc -I http -d"
echo "VLC gestartet" >>/root/vlc.txt
sleep 5
ps | grep vlc >>/root/vlc.txt
;;
'stop')
echo "Stopping VLC Server" >>/root/vlc.txt
ps | grep vlc >>/root/vlc.txt
killall vlc
echo "VLC gestoppt" >>/root/vlc.txt
sleep 5
ps | grep vlc >>/root/vlc.txt
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
;;
esac
exit 0
DS710> ll
drwxr-xr-x 2 root root 4096 Apr 15 19:57 .
drwxr-xr-x 3 root root 4096 Apr 14 00:04 ..
-rwxrwxrwx 1 root root 486 Apr 15 22:03 S99vlc.sh
DS710> ./S99vlc.sh stop
killall: vlc: no process killed
DS710> ./S99vlc.sh start
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i386-pc-linux-gnu' '--host=i686-linux-gnu' '--target=i686-linux-gnu' '--prefix=/opt' '--enable-v4l' '--disable-v4l2' '--enable-bonjour' '--disable-x264' '--enable-dvbpsi' '--enable-a52' '--enable-dvdnav' '--with-dvdnav-config-path=/home/slug/optware/syno-i686/staging/opt/bin' '--enable-faad' '--enable-flac' '--disable-gnutls' '--enable-mpc' '--enable-ncurses' '--enable-ogg' '--enable-png' '--disable-remoteosd' '--enable-shout' '--enable-speex' '--enable-vorbis' '--disable-alsa' '--disable-dca' '--disable-glx' '--disable-gnomevfs' '--disable-libcdio' '--disable-libcddb' '--disable-screen' '--disable-sdl' '--disable-wxwidgets' '--disable-skins2' '--disable-x11' '--disable-nls' '--disable-static' 'build_alias=i386-pc-linux-gnu' 'host_alias=i686-linux-gnu' 'target_alias=i686-linux-gnu' 'CC=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-gcc' 'LDFLAGS= -L/home/slug/optware/syno-i686/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/slug/optware/syno-i686/staging/opt/lib ' 'CPPFLAGS=-O2 -O2 -pipe -I/home/slug/optware/syno-i686/staging/opt/include -I/home/slug/optware/syno-i686/staging/opt/include/ncurses' 'CPP=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-gcc -E' 'CXX=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-g++' 'PKG_CONFIG_PATH=/home/slug/optware/syno-i686/staging/opt/lib/pkgconfig'
[00000001] main libvlc debug: translation test: code is "C"
DS710>
DS710> ps | grep vlc
13897 admin 2776 S vlc -I http -d
13901 admin 2776 S vlc -I http -d
13902 admin 2776 S vlc -I http -d
13903 admin 2776 S vlc -I http -d
13904 admin 2776 S vlc -I http -d
13905 admin 2776 S vlc -I http -d
13906 admin 2776 S vlc -I http -d
13907 admin 2776 S vlc -I http -d
13908 admin 2776 S vlc -I http -d
13909 admin 2776 S vlc -I http -d
13910 admin 2776 S vlc -I http -d
13911 admin 2776 S vlc -I http -d
13913 root 292 S grep vlc
DS710>
Script angestartet
Stopping VLC Server
9157 admin 2772 S vlc -I http -d
9161 admin 2772 S vlc -I http -d
9162 admin 2772 S vlc -I http -d
9163 admin 2772 S vlc -I http -d
9164 admin 2772 S vlc -I http -d
9165 admin 2772 S vlc -I http -d
9166 admin 2772 S vlc -I http -d
9167 admin 2772 S vlc -I http -d
9168 admin 2772 S vlc -I http -d
9169 admin 2772 S vlc -I http -d
9170 admin 2772 S vlc -I http -d
9171 admin 2772 S vlc -I http -d
9175 root 304 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh stop
9179 root 292 S grep vlc
VLC gestoppt
9175 root 304 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh stop
9184 root 288 S grep vlc
Script angestartet
Starting VLC Server
9187 root 300 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
9191 root 292 S grep vlc
VLC gestartet
9187 root 300 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
9198 admin 2772 S vlc -I http -d
9201 admin 2772 S vlc -I http -d
9202 admin 2772 S vlc -I http -d
9203 admin 2772 S vlc -I http -d
9204 admin 2772 S vlc -I http -d
9205 admin 2772 S vlc -I http -d
9206 admin 2772 S vlc -I http -d
9207 admin 2772 S vlc -I http -d
9208 admin 2772 S vlc -I http -d
9209 admin 2772 S vlc -I http -d
9210 admin 2772 S vlc -I http -d
9211 admin 2772 S vlc -I http -d
9213 root 288 S grep vlc
BusyBox v1.1.0 (2010.03.13-07:52+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
DS710> vi vlc.txt
Script angestartet
Stopping VLC Server
9198 admin 2772 S vlc -I http -d
9201 admin 2772 S vlc -I http -d
9202 admin 2772 S vlc -I http -d
9203 admin 2772 S vlc -I http -d
9204 admin 2772 S vlc -I http -d
9205 admin 2772 S vlc -I http -d
9206 admin 2772 S vlc -I http -d
9207 admin 2772 S vlc -I http -d
9208 admin 2772 S vlc -I http -d
9209 admin 2772 S vlc -I http -d
9210 admin 2772 S vlc -I http -d
9211 admin 2772 S vlc -I http -d
9224 root 264 S sh -c /usr/local/etc/rc.d/S99vlc.sh stop > /dev/null
9225 root 300 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh stop
9229 root 304 R grep vlc
VLC gestoppt
9224 root 264 S sh -c /usr/local/etc/rc.d/S99vlc.sh stop > /dev/null
9225 root 300 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh stop
9234 root 288 S grep vlc
Script angestartet
Starting VLC Server
4820 root 260 S sh -c /usr/local/etc/rc.d/S99vlc.sh start > /dev/null
4821 root 300 R /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
4936 root 292 S grep vlc
VLC gestartet
4820 root 260 S sh -c /usr/local/etc/rc.d/S99vlc.sh start > /dev/null
4821 root 300 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
9070 root 124 R /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
DS710> ps | grep vlc
DS710> sh -c /usr/local/etc/rc.d/S99vlc.sh start > /dev/null
DS710> vi vlc.txt
Script angestartet
DS710>
DS710> sh -c /usr/local/etc/rc.d/S99vlc.sh start
Usage: /usr/local/etc/rc.d/S99vlc.sh { start | stop }
DS710>
DS710> /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i386-pc-linux-gnu' '--host=i686-linux-gnu' '--target=i686-linux-gnu' '--prefix=/opt' '--enable-v4l' '--disable-v4l2' '--enable-bonjour' '--disable-x264' '--enable-dvbpsi' '--enable-a52' '--enable-dvdnav' '--with-dvdnav-config-path=/home/slug/optware/syno-i686/staging/opt/bin' '--enable-faad' '--enable-flac' '--disable-gnutls' '--enable-mpc' '--enable-ncurses' '--enable-ogg' '--enable-png' '--disable-remoteosd' '--enable-shout' '--enable-speex' '--enable-vorbis' '--disable-alsa' '--disable-dca' '--disable-glx' '--disable-gnomevfs' '--disable-libcdio' '--disable-libcddb' '--disable-screen' '--disable-sdl' '--disable-wxwidgets' '--disable-skins2' '--disable-x11' '--disable-nls' '--disable-static' 'build_alias=i386-pc-linux-gnu' 'host_alias=i686-linux-gnu' 'target_alias=i686-linux-gnu' 'CC=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-gcc' 'LDFLAGS= -L/home/slug/optware/syno-i686/staging/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link,/home/slug/optware/syno-i686/staging/opt/lib ' 'CPPFLAGS=-O2 -O2 -pipe -I/home/slug/optware/syno-i686/staging/opt/include -I/home/slug/optware/syno-i686/staging/opt/include/ncurses' 'CPP=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-gcc -E' 'CXX=/home/slug/optware/syno-i686/toolchain/gcc-4.2.1-glibc-2.3.6/i686-linux-gnu/bin/i686-linux-gnu-g++' 'PKG_CONFIG_PATH=/home/slug/optware/syno-i686/staging/opt/lib/pkgconfig'
[00000001] main libvlc debug: translation test: code is "C"
DS710>
Script angestartet
Starting VLC Server
9110 root 304 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
9114 root 292 S grep vlc
VLC gestartet
9110 root 304 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
9121 admin 2772 S vlc -I http -d
9124 admin 2772 S vlc -I http -d
9125 admin 2772 S vlc -I http -d
9126 admin 2772 S vlc -I http -d
9127 admin 2772 S vlc -I http -d
9128 admin 2772 S vlc -I http -d
9129 admin 2772 S vlc -I http -d
9130 admin 2772 S vlc -I http -d
9131 admin 2772 S vlc -I http -d
9132 admin 2772 S vlc -I http -d
9133 admin 2772 S vlc -I http -d
9134 admin 2772 S vlc -I http -d
9136 root 296 S grep vlc
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin
/opt/bin/su admin -c "dbus-launch /opt/bin/vlc -I http -d"
BusyBox v1.1.0 (2010.03.13-07:52+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
DS710> vi vlc.txt
4875 root 292 S grep vlc
-----------------------------------
Script aufgerufen
Derzeitige Situation:
3059 root 268 S sh -c /usr/local/etc/rc.d/S99vlc.sh start > /dev/null
3060 root 300 R /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
Starting VLC Server
VLC gestartet
3059 root 268 S sh -c /usr/local/etc/rc.d/S99vlc.sh start > /dev/null
3060 root 300 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
4684 admin 2772 S /opt/bin/vlc -I http -d
5866 admin 2772 S /opt/bin/vlc -I http -d
5883 admin 2772 S /opt/bin/vlc -I http -d
6010 admin 2772 S /opt/bin/vlc -I http -d
6030 admin 2772 S /opt/bin/vlc -I http -d
6044 admin 2772 S /opt/bin/vlc -I http -d
6066 admin 2772 S /opt/bin/vlc -I http -d
6091 admin 2772 S /opt/bin/vlc -I http -d
6108 admin 2772 S /opt/bin/vlc -I http -d
6124 admin 2772 S /opt/bin/vlc -I http -d
6171 admin 2772 S /opt/bin/vlc -I http -d
6642 admin 2772 S /opt/bin/vlc -I http -d
9104 root 224 R grep vlc
- vlc.txt 46/46 100%
4875 root 292 S grep vlc
-----------------------------------
Script aufgerufen
Derzeitige Situation:
3059 root 268 S sh -c /usr/local/etc/rc.d/S99vlc.sh start > /dev/null
3060 root 300 R /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
Starting VLC Server
VLC gestartet
3059 root 268 S sh -c /usr/local/etc/rc.d/S99vlc.sh start > /dev/null
3060 root 300 S /bin/sh /usr/local/etc/rc.d/S99vlc.sh start
4684 admin 2772 S /opt/bin/vlc -I http -d
5866 admin 2772 S /opt/bin/vlc -I http -d
5883 admin 2772 S /opt/bin/vlc -I http -d
6010 admin 2772 S /opt/bin/vlc -I http -d
6030 admin 2772 S /opt/bin/vlc -I http -d
6044 admin 2772 S /opt/bin/vlc -I http -d
6066 admin 2772 S /opt/bin/vlc -I http -d
6091 admin 2772 S /opt/bin/vlc -I http -d
6108 admin 2772 S /opt/bin/vlc -I http -d
6124 admin 2772 S /opt/bin/vlc -I http -d
6171 admin 2772 S /opt/bin/vlc -I http -d
6642 admin 2772 S /opt/bin/vlc -I http -d
9104 root 224 R grep vlc
Es ist eine Datei auswählbar (z.B avi) und diese startet dann immer,
egal welche andere avi-Datei man auswählt. Die Steuerung scheint
also nur beim ersten Mal zu funktionieren.
Die Selektion hat also scheinbar immernoch ein Problemchen.
ipkg install xvid
3)Habe dann [COLOR="Blue" schrieb:dbus-uuidgen --ensure [/COLOR] eingegeben.
4)Desweiteren mußte ich in der Datei /volume1/@optware/share/vlc/http/.hosts diejenigen Clients eintragen die auf VLC zugreifen dürfen.
5)Erst dann konnte ich mit Telnet-"admin" einen dbus-launch vlc -I http absetzen und per Webbrowser mit http://IP-DER-DS:8080 auf das VLC-Interface zugreifen.
dann gehts weiter wie im Forum beschrieben, d.h.
6)
DS710> dbus-uuidgen --ensure
DS710>
su admin -c "dbus-launch vlc -I http &"
#!/bin/sh
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin
case "$1" in
'start')
/opt/bin/su admin -c "dbus-launch /opt/bin/vlc -I http -d"
;;
'stop')
killall vlc
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
;;
esac
exit 0
-rwxrwxrwx 1 root root 767 Apr 16 2010 S99vlc.sh
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.