📄 hardstart.sh
字号:
#/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -