Remove unnecessary execute flag from some init.d files

This commit is contained in:
Calin Crisan 2019-01-11 23:36:23 +02:00
parent 1edf7f0c62
commit 000eff13a3
3 changed files with 1 additions and 4 deletions

3
board/common/overlay/etc/init.d/base Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/bin/bash
source /etc/version
board_sn=$(/etc/init.d/boardsn)
@ -40,7 +39,7 @@ prepare_conf() {
if [[ -n "$user_conf" && -e "$user_conf" ]]; then
cp -rf "$user_conf" "$actual_conf"
grep -E "/boot .*ro[\s,]" /proc/mounts
grep -E "/boot .*ro[\s,]" /proc/mounts &>/dev/null
RO=$?
test $RO == 0 && mount -o remount,rw /boot
rm -rf $user_conf

View File

@ -1,4 +1,3 @@
#!/bin/bash
_sys_conf="/etc/os.conf"
_boot_conf="/boot/os.conf"

1
board/common/overlay/etc/init.d/panic Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/bin/bash
_PANIC_COUNTER_FILE="/var/lib/panic_counter"
_PANIC_REBOOT_DELAY_FACTOR=10