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