hardstart.sh
来自「It s a tool designed to extract as much 」· Shell 代码 · 共 34 行
SH
34 行
#/bin/bash## Hard startup of the system. It initializes EVERYTHING from the beginning...# Use it only at system setup time (or in trouble...).## You must start it locally, from the root directory of the messager software.# And start it as superuser.## The script does the following:## - restarts the bluetooth subsystem# - reconfigures the networking (nat, ipconfig, etc.)# - shuts down Apache# - restarts tomcat# - restarts the dund# - removes the reset and ban files# - removes the device database (all the bluetooth devices considered new)# - restarts the bluetotth dev. recovery## - restarts the bluetooth subsystem/etc/init.d/bluez-utils restart# - reconfigures the networking (nat, ipconfig, etc.)source ./netsetup.sh 192.168.10.101 255.255.255.0 192.168.1.255# - shuts down Apache# - restarts tomcat# - restarts the dund# - removes the reset and ban files# - removes the device database (all the bluetooth devices considered new)# - restarts the bluetotth dev. recovery#
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?