修复系统配置文件同步并补充打包校验
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
mkdir -p files
|
||||
rsync am60-ts:/etc/ssh/sshd_config files/sshd_config
|
||||
rsync am60-ts:/root/.ssh/authorized_keys files/authorized_keys
|
||||
@@ -14,6 +17,7 @@ rsync am60-ts:/usr/local/bin/server files/server
|
||||
rsync am60-ts:/usr/bin/ota files/ota
|
||||
rsync -avz am60-ts:/etc/apt/sources.list.d ./files/
|
||||
rsync am60-ts:/etc/modprobe.d/snd-aloop.conf files/snd-aloop.conf
|
||||
rsync -avz am60-ts:/etc/modprobe.d/99-snd-usb-audio-index.conf ./files/99-snd-usb-audio-index.conf
|
||||
rsync am60-ts:/etc/systemd/system/camilladsp.service files/camilladsp.service
|
||||
rsync am60-ts:/usr/lib/systemd/system/bluetooth.service files/bluetooth.service
|
||||
rsync am60-ts:/etc/udev/rules.d/99-usb-auto-mount.rules files/99-usb-auto-mount.rules
|
||||
|
||||
Reference in New Issue
Block a user