From 9f958410d2f4e33f216d4b9f2a3eee7074399c43 Mon Sep 17 00:00:00 2001 From: Takumi Sueda Date: Sat, 16 Jul 2022 20:52:19 +0900 Subject: [PATCH] raspi -> brain --- LICENSE | 3 ++- usr/lib/brain-config/init_resize.sh | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/LICENSE b/LICENSE index dd318ed..a2ab76c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,8 @@ -raspi-config is licensed under the terms of the MIT license reproduced below. +brain-config is licensed under the terms of the MIT license reproduced below. ##################################################### +Copyright (c) 2022 Brain Hackers Copyright (c) 2012 Alex Bradbury Permission is hereby granted, free of charge, to any person diff --git a/usr/lib/brain-config/init_resize.sh b/usr/lib/brain-config/init_resize.sh index 722efb0..5b132eb 100755 --- a/usr/lib/brain-config/init_resize.sh +++ b/usr/lib/brain-config/init_resize.sh @@ -1,6 +1,6 @@ #!/bin/sh -reboot_pi () { +reboot_brain () { umount /boot mount / -o remount,ro sync @@ -101,7 +101,7 @@ main () { fi if [ "$ROOT_PART_END" -eq "$TARGET_END" ]; then - reboot_pi + reboot_brain fi if ! parted -m "$ROOT_DEV" u s resizepart "$ROOT_PART_NUM" "$TARGET_END"; then @@ -132,7 +132,7 @@ mount /boot -o remount,ro sync if ! check_commands; then - reboot_pi + reboot_brain fi if main; then @@ -143,4 +143,4 @@ else sleep 5 fi -reboot_pi +reboot_brain