mirror of https://github.com/OpenIPC/firmware.git
[no ci] Scripts: minor formatting (#1280)
parent
eb4406179c
commit
304ea8e574
2
Makefile
2
Makefile
|
@ -55,7 +55,7 @@ toolname:
|
|||
@general/scripts/show_toolchains.sh $(CONFIG)
|
||||
|
||||
clean:
|
||||
@rm -rf $(TARGET)/images $(TARGET)/target
|
||||
@rm -rf $(TARGET)/build $(TARGET)/images $(TARGET)/per-package $(TARGET)/target
|
||||
|
||||
distclean:
|
||||
@rm -rf $(BR_FILE) $(TARGET)
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
CMD=$(echo $0 | cut -d / -f 4)
|
||||
ARCH=$(uname -m)
|
||||
|
||||
|
@ -45,6 +44,7 @@ case "${CMD}" in
|
|||
[ -f /usr/share/openipc/customizer.sh ] && echo "Run customizer script..." && sh /usr/share/openipc/customizer.sh && touch /etc/system.ok || echo "Customizer script not present..."
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# OpenIPC.org | 2024
|
||||
#
|
||||
|
||||
scr_version=1.0.32
|
||||
scr_version=1.0.33
|
||||
|
||||
args=" $@"
|
||||
|
||||
|
@ -107,10 +107,10 @@ free_resources() {
|
|||
time=$(grep TIME_STAMP /etc/os-release | cut -d= -f2)
|
||||
if [ "$time" -gt "1705705200" ]; then
|
||||
killall -q -SIGUSR1 majestic
|
||||
sleep 2
|
||||
else
|
||||
killall -q majestic
|
||||
fi
|
||||
sleep 1
|
||||
echo "OK"
|
||||
|
||||
for proc in crond klogd ntpd rngd syslogd; do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! $# -eq 2 ]; then
|
||||
echo "Usage: $0 <hi3516dv200.generic.config> <gk7605v100.generic.config>"
|
||||
|
@ -8,7 +8,6 @@ INPUT=$1
|
|||
OUTPUT=$2
|
||||
|
||||
cp $INPUT $OUTPUT
|
||||
|
||||
sed -i 's/HISI_BVT/GOKE/g' $OUTPUT
|
||||
sed -i 's/Hisilicon BVT/Goke/g' $OUTPUT
|
||||
sed -i 's/HISILICON/GOKE/g' $OUTPUT
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
DATE=$(date +%y.%m.%d)
|
||||
FILE=${TARGET_DIR}/usr/lib/os-release
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
#!/bin/bash
|
||||
shopt -s nullglob
|
||||
|
||||
toolchain_by_config() {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
#!/bin/bash
|
||||
INDIR=br-ext-chip-hisilicon/board/hi3516ev200/kernel
|
||||
OUTDIR=br-ext-chip-goke/board/gk7205v200/kernel
|
||||
|
||||
|
|
Loading…
Reference in New Issue