script/打开hilog.sh
2025-01-21 11:30:03 +08:00

16 lines
297 B
Bash

#!/bin/bash
TOOLCHAIN_PATH=./shell
open() {
cd $TOOLCHAIN_PATH && \
./hdc shell hilog -w stop && \
./hdc shell hilog -r && \
./hdc shell hilog -w start -l 100M -m none && \
./hdc shell hilog -Q pidoff && \
./hdc shell hilog -p off && \
./hdc shell hilog -b D
}
open