From a700fc263ab4d1765f49c0d061181fc3b788a23c Mon Sep 17 00:00:00 2001 From: flykhan Date: Tue, 19 Sep 2023 11:54:54 +0800 Subject: [PATCH] =?UTF-8?q?boa=E7=9B=B8=E5=85=B31?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 54 ----------------------------------- boa | 1 - boa_conf.sh => boa_install.sh | 4 +++ boax | 1 + 4 files changed, 5 insertions(+), 55 deletions(-) delete mode 160000 boa rename boa_conf.sh => boa_install.sh (68%) create mode 160000 boax diff --git a/.gitignore b/.gitignore index aaadf81..f83f336 100644 --- a/.gitignore +++ b/.gitignore @@ -1,57 +1,3 @@ -# Prerequisites -*.d - -# Object files -*.o -*.ko -*.obj -*.elf - -# Linker output -*.ilk -*.map -*.exp - -# Precompiled Headers -*.gch -*.pch - -# Libraries -*.lib -*.a -*.la -*.lo - -# Shared objects (inc. Windows DLLs) -*.dll -*.so -*.so.* -*.dylib - -# Executables -*.exe -*.out -*.app -*.i*86 -*.x86_64 -*.hex - -# Debug files -*.dSYM/ -*.su -*.idb -*.pdb - -# Kernel Module Compile Results -*.mod* -*.cmd -.tmp_versions/ -modules.order -Module.symvers -Mkfile.old -dkms.conf - - .vscode *.cgi *.o diff --git a/boa b/boa deleted file mode 160000 index 85e41f3..0000000 --- a/boa +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 85e41f3ef9b31925a40e5dc4a782bc818570114c diff --git a/boa_conf.sh b/boa_install.sh similarity index 68% rename from boa_conf.sh rename to boa_install.sh index 17568ce..ae0f5dc 100644 --- a/boa_conf.sh +++ b/boa_install.sh @@ -1,7 +1,11 @@ #! /bin/bash +echo "删除原始的boa软连接" +sudo rm -rf /usr/bin/boa +sudo rm -rf /etc/boa echo "向系统bin目录添加boa软连接" sudo ln -s ~/c-router-emulator/boa/boa /usr/bin/boa echo "向系统bin目录添加boa.conf软连接" +sudo mkdir /etc/boa sudo ln -s ~/c-router-emulator/boa/boa.conf /etc/boa/boa.conf \ No newline at end of file diff --git a/boax b/boax new file mode 160000 index 0000000..ac22d5f --- /dev/null +++ b/boax @@ -0,0 +1 @@ +Subproject commit ac22d5f2e196568366946cb73c4c156da7ee9808