Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the simply-static domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121
实现一键开关机的树莓派伴侣配置程序

实现一键开关机的树莓派伴侣配置程序

这是树莓派官方操作系统Raspberry Pi OS (64-bit)的配置程序

请下载对应自己操作系统的压缩文件,这里以64位树莓派官方操作系统为例

下载文件后解压

unzip pimateone64.zip

解压后在解压文件所在目录以su用户运行

sudo ./pimateone64

配置程序执行完毕后系统会自动重启,等待树莓派启动后即可使用mateone按钮实现树莓派的正常开关机。

注意:树莓派关机需要一定时间,关机过程中不要按下mateone的按键(按下了也不起作用😊)

附:查看自己的系统类型

getconf LONG_BIT

返回64,即为64位系统,对应本文的例子。返回32,即为32位系统,需下载pimateone32

c程序