mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- yWeb: cleanup
Conflicts: data/y-web/Y_Blocks.txt data/y-web/Y_Live_Menue.yhtm data/y-web/Y_Tools_Flash_Upload.yhtm data/y-web/Y_Version.txt data/y-web/extentions/boxinfo/files/httpd/scripts/Y_Ext_BoxInfo.sh data/y-web/languages/Czech data/y-web/languages/Deutsch data/y-web/languages/English data/y-web/languages/Makefile.am data/y-web/languages/Polski data/y-web/languages/Portuguese data/y-web/languages/Slovak data/y-web/scripts/Y_NI_Tools.sh data/y-web/scripts/Y_Tools.sh data/y-web/scripts/api.sh data/y-web/ywidget.css Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1,72 +1,60 @@
|
||||
#!/bin/sh
|
||||
# -----------------------------------------------------------
|
||||
# yWeb Extension: Filemgr (by yjogol)
|
||||
# yCVS: $Date: 2007-12-29 08:20:30 $
|
||||
# yCVS: $Revision: 1.1 $
|
||||
# -----------------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------------
|
||||
# Main
|
||||
# -----------------------------------------------------------
|
||||
|
||||
case "$1" in
|
||||
list_users)
|
||||
cat $fpasswd|sed 's/^\([^:]*\).*/<input type=radio name=users value=\1>\1<br>/' ;;
|
||||
|
||||
cat $fpasswd|sed 's/^\([^:]*\).*/<input type=radio name=users value=\1>\1<br>/'
|
||||
;;
|
||||
filemgr_list)
|
||||
shift 1
|
||||
ls -al $* ;;
|
||||
|
||||
ls -al $*
|
||||
;;
|
||||
filemgr_chmod)
|
||||
shift 1
|
||||
chmod $*
|
||||
;;
|
||||
|
||||
;;
|
||||
filemgr_mkdir)
|
||||
shift 1
|
||||
mkdir $*
|
||||
;;
|
||||
|
||||
;;
|
||||
filemgr_rm)
|
||||
shift 1
|
||||
rm -f $*
|
||||
;;
|
||||
|
||||
;;
|
||||
filemgr_rmdir)
|
||||
shift 1
|
||||
rm -rf $*
|
||||
;;
|
||||
|
||||
;;
|
||||
filemgr_upload)
|
||||
shift 1
|
||||
mv /tmp/upload.tmp "$1/$2"
|
||||
rm -f /tmp/upload.tmp
|
||||
;;
|
||||
|
||||
;;
|
||||
filemgr_ren)
|
||||
shift 1
|
||||
mv -f $1 $2
|
||||
;;
|
||||
|
||||
;;
|
||||
filemgr_copy)
|
||||
shift 1
|
||||
cp -r -f $1 $2
|
||||
;;
|
||||
nhttpd_can_sendall)
|
||||
grep sendAll=true %(CONFIGDIR)/nhttpd.conf
|
||||
;;
|
||||
;;
|
||||
filemgr_check_movieplayer_xml)
|
||||
shift 1
|
||||
grep "neutrino commandversion" $*
|
||||
;;
|
||||
;;
|
||||
filemgr_vlc_file)
|
||||
shift 1
|
||||
echo "$*" >/tmp/vlc.m3u
|
||||
;;
|
||||
|
||||
;;
|
||||
nhttpd_can_sendall)
|
||||
grep sendAll=true %(CONFIGDIR)/nhttpd.conf
|
||||
;;
|
||||
*)
|
||||
echo "[Y_NAS.sh] Parameter falsch: $*" ;;
|
||||
echo "[Y_NAS.sh] Parameter falsch: $*"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user