diff --git a/plugins/samba/ico.png b/plugins/samba/ico.png
deleted file mode 100644
index 3cb733af6..000000000
Binary files a/plugins/samba/ico.png and /dev/null differ
diff --git a/plugins/samba/index.html b/plugins/samba/index.html
deleted file mode 100755
index 87149a87c..000000000
--- a/plugins/samba/index.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/plugins/samba/index.py b/plugins/samba/index.py
deleted file mode 100755
index 12841a477..000000000
--- a/plugins/samba/index.py
+++ /dev/null
@@ -1,159 +0,0 @@
-# coding: utf-8
-
-import time
-import random
-import os
-import json
-import re
-import sys
-
-sys.path.append(os.getcwd() + "/class/core")
-import public
-
-app_debug = False
-if public.isAppleSystem():
- app_debug = True
-
-
-def getPluginName():
- return 'samba'
-
-
-def getPluginDir():
- return public.getPluginDir() + '/' + getPluginName()
-
-
-def getServerDir():
- return public.getServerDir() + '/' + getPluginName()
-
-
-def getInitDFile():
- if app_debug:
- return '/tmp/' + getPluginName()
- return '/etc/init.d/' + getPluginName()
-
-
-def getArgs():
- args = sys.argv[2:]
- tmp = {}
- args_len = len(args)
-
- if args_len == 1:
- t = args[0].strip('{').strip('}')
- t = t.split(':')
- tmp[t[0]] = t[1]
- elif args_len > 1:
- for i in range(len(args)):
- t = args[i].split(':')
- tmp[t[0]] = t[1]
-
- return tmp
-
-
-def checkArgs(data, ck=[]):
- for i in range(len(ck)):
- if not ck[i] in data:
- return (False, public.returnJson(False, '参数:(' + ck[i] + ')没有!'))
- return (True, public.returnJson(True, 'ok'))
-
-
-def status():
- data = public.execShell(
- "ps -ef|grep smbd |grep -v grep | grep -v python | awk '{print $2}'")
- if data[0] == '':
- return 'stop'
- return 'start'
-
-
-def start():
- if public.isAppleSystem():
- return "Apple Computer does not support"
-
- data = public.execShell('systemctl start smb')
- if data[1] == '':
- return 'ok'
- return 'fail'
-
-
-def stop():
- if public.isAppleSystem():
- return "Apple Computer does not support"
- data = public.execShell('systemctl stop smb')
- if data[1] == '':
- return 'ok'
- return 'fail'
-
-
-def restart():
- if public.isAppleSystem():
- return "Apple Computer does not support"
- data = public.execShell('systemctl restart smb')
- if data[1] == '':
- return 'ok'
- return 'fail'
-
-
-def reload():
- if public.isAppleSystem():
- return "Apple Computer does not support"
-
- data = public.execShell('systemctl reload smb')
- if data[1] == '':
- return 'ok'
- return 'fail'
-
-
-def initdStatus():
- if public.isAppleSystem():
- return "Apple Computer does not support"
- initd_bin = getInitDFile()
- if os.path.exists(initd_bin):
- return 'ok'
- return 'fail'
-
-
-def initdInstall():
- if public.isAppleSystem():
- return "Apple Computer does not support"
-
- source_bin = initDreplace()
- initd_bin = getInitDFile()
- shutil.copyfile(source_bin, initd_bin)
- public.execShell('chmod +x ' + initd_bin)
- return 'ok'
-
-
-def initdUinstall():
- if public.isAppleSystem():
- return "Apple Computer does not support"
-
- initd_bin = getInitDFile()
- os.remove(initd_bin)
- return 'ok'
-
-
-def smbConf():
- return '/etc/samba/smb.conf'
-
-if __name__ == "__main__":
- func = sys.argv[1]
- if func == 'status':
- print status()
- elif func == 'start':
- print start()
- elif func == 'stop':
- print stop()
- elif func == 'restart':
- print restart()
- elif func == 'reload':
- print reload()
- elif func == 'initd_status':
- print initdStatus()
- elif func == 'initd_install':
- print initdInstall()
- elif func == 'initd_uninstall':
- print initdUinstall()
- elif func == 'conf':
- print smbConf()
- else:
- print 'error'
diff --git a/plugins/samba/info.json b/plugins/samba/info.json
deleted file mode 100755
index b805f8ea5..000000000
--- a/plugins/samba/info.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "id":3,
- "title":"SMB",
- "tip":"lib",
- "name":"samba",
- "type":"软件",
- "ps":"samba文件共享管理软件",
- "versions":"1.0",
- "shell":"install.sh",
- "checks":"server/samba",
- "author":"midoks",
- "home":"https://www.samba.org/",
- "date":"2018-12-20",
- "pid":"4"
-}
\ No newline at end of file
diff --git a/plugins/samba/install.sh b/plugins/samba/install.sh
deleted file mode 100755
index c8eba819d..000000000
--- a/plugins/samba/install.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
-export PATH
-
-
-curPath=`pwd`
-rootPath=$(dirname "$curPath")
-rootPath=$(dirname "$rootPath")
-serverPath=$(dirname "$rootPath")
-sysName=`uname`
-
-install_tmp=${rootPath}/tmp/bt_install.pl
-Install_samba()
-{
- echo '正在安装脚本文件...' > $install_tmp
-
- if [ $sysName == 'Darwin' ]; then
- echo 'The development machine is not open!!!' > $install_tmp
- else
- yum -y install samba* cifs-utils
- fi
-
- mkdir -p $serverPath/samba
- echo '1.0' > $serverPath/samba/version.pl
- echo '安装完成' > $install_tmp
-
-}
-
-Uninstall_samba()
-{
- rm -rf $serverPath/samba
- echo "卸载完成" > $install_tmp
-}
-
-action=$1
-if [ "${1}" == 'install' ];then
- Install_samba
-else
- Uninstall_samba
-fi
diff --git a/plugins/samba/js/samba.js b/plugins/samba/js/samba.js
deleted file mode 100755
index fda380f8e..000000000
--- a/plugins/samba/js/samba.js
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-function smbRead(){
- var readme = '';
- readme += '- mac上连接`cmd+k`
';
- readme += '- 不产生.DS_Store文件: defaults write com.apple.desktopservices DSDontWriteNetworkStores true
';
- readme += '- windows上连接例子: \\192.168.1.194
';
-
- readme += '
';
-
- $('.soft-man-con').html(readme);
-}
\ No newline at end of file