gpg --export-secret-keys --armor 38DBBDC86092693E > 38DBBDC86092693E.asc gpg --export-secret-keys --armor B8AC08600F108CDF > B8AC08600F108CDF.asc gpg --export --armor 38DBBDC86092693E > 38DBBDC86092693E.asc gpg --export --armor B8AC08600F108CDF > B8AC08600F108CDF.asc gpg --recv-keys 38DBBDC86092693E gpg --recv-keys B8AC08600F108CDF -- alpine_pxe:~# dmidecode -t 0{ # dmidecode 3.3 Getting SMBIOS data from sysfs. SMBIOS 2.8 present. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: 'SeaBIOS' Version: 'Arch Linux 1.16.1-1-1' Release Date: '04/01/2014' Address: 0xE8000 Runtime Size: 96 kB ROM Size: 64 kB Characteristics: BIOS characteristics not supported Targeted content distribution is supported System is a virtual machine BIOS Revision: 0.0 } alpine_pxe:~# dmidecode -t 1{ # dmidecode 3.3 Getting SMBIOS data from sysfs. SMBIOS 2.8 present. Handle 0x0100, DMI type 1, 27 bytes System Information Manufacturer: 'QEMU' Product Name: 'Standard PC (Q35 + ICH9 2009)' Version: pc-q35-7.2 Serial Number: '' UUID: 98edeeea-a04e-476b-a973-a2f28fe2507f Wake-up Type: Power Switch SKU Number: '' Family: '' } alpine_pxe:~# ---- -- rm -f custom.files custom.db custom.db.tar.gz custom.files.tar.gz *.sig gpg --import my_key_backup.asc export GPG_TTY=$(tty) PIN=jin123 PKGPATH=/media/mirrors/archlinux/i686/20230214_i686 DBNAME=custom for pkg in $PKGPATH/*.pkg.tar.{xz,zst}; do echo ${PIN} | gpg --batch --yes --passphrase-fd 0 --detach-sign --no-armor -o $pkg.sig $pkg done repo-add $PKGPATH/$DBNAME.db.tar.gz -s $PKGPATH/*.pkg.tar.{xz,zst} ln -s 1_x86_64_first pkg --- root@nas-27-5A-1D:~# ps -ef | grep rpc root 343 2 0 07:00 ? 00:00:00 [rpciod] root 2017 1 0 07:00 ? 00:00:00 /sbin/rpcbind -w statd 2020 1 0 07:00 ? 00:00:01 /sbin/rpc.statd root 10254 1 0 10:00 ? 00:00:00 /usr/sbin/rpc.idmapd root 10255 1 0 10:00 ? 00:00:00 /usr/sbin/rpc.mountd --manage-gids --no-nfs-version 4 root 14541 10020 0 11:04 pts/0 00:00:00 grep rpc tail -f /var/log/apache2/error.log service apache2 restart /mnt/repo/raspberry49_svn/subversion_test/db/txn-current-lock svnadmin recover /mnt/repo/raspberry49_svn/subversion_test # m h dom mon dow command # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed ### 30 19 * * * /mnt/tools/python/MUFJ/get_bank_list.sh 20 07 * * 6 /mnt/tools/python/MUFJ/rm_status_file.sh 30 07 * * 6 /mnt/tools/python/MUFJ/get_bank_list.sh 40 07 * * 7 /mnt/tools/python/MUFJ/get_bank_list.sh 30 18 * * * /mnt/tools/python/MUFJ/get_bank_list.sh 10 19 * * 1-5 /home/pi/start_one_app.sh /usr/local/bin/qbittorrent-nox 1>/dev/null 2>&1 10 18 * * 1-5 /home/pi/start_one_app.sh /usr/local/bin/qbittorrent-nox 1>/dev/null 2>&1 30 18 * * 1-5 /home/pi/start_one_app.sh /usr/local/bin/qbittorrent-nox 1>/dev/null 2>&1 50 18 * * 1-5 /home/pi/start_one_app.sh /usr/local/bin/qbittorrent-nox 1>/dev/null 2>&1 ##10 07 * * 6,7 /home/pi/start_one_app.sh /usr/local/bin/qbittorrent-nox 1>/dev/null 2>&1 10 08 * * * /home/pi/start_one_app.sh /usr/local/bin/qbittorrent-nox 1>/dev/null 2>&1 55 23 * * * /bin/kill -s SIGINT $(pgrep qbittorrent-nox) 45 23 * * * /bin/kill -s SIGINT $(pgrep qbittorrent-nox) 10 19 * * 1-5 /home/pi/start_one_app.sh /usr/bin/amuled 1>/dev/null 2>&1 10 18 * * 1-5 /home/pi/start_one_app.sh /usr/bin/amuled 1>/dev/null 2>&1 30 18 * * 1-5 /home/pi/start_one_app.sh /usr/bin/amuled 1>/dev/null 2>&1 50 18 * * 1-5 /home/pi/start_one_app.sh /usr/bin/amuled 1>/dev/null 2>&1 ##10 07 * * 6,7 /home/pi/start_one_app.sh /usr/bin/amuled 1>/dev/null 2>&1 10 08 * * * /home/pi/start_one_app.sh /usr/bin/amuled 1>/dev/null 2>&1 53 23 * * * /bin/kill -s SIGINT $(pgrep amuleweb) 55 23 * * * /bin/kill -s SIGINT $(pgrep amuled) 43 23 * * * /bin/kill -s SIGINT $(pgrep amuleweb) 45 23 * * * /bin/kill -s SIGINT $(pgrep amuled) ## 45 23 * * * /home/pi/shutdown_remoto_pc.sh 1>/dev/null 2>&1 #45 23 * * * /home/pi/shutdown_remoto_pc.sh 1>/dev/null 2>&1 #45 23 * * * /home/pi/shutdown_remoto_pc2.sh 1>/dev/null 2>&1 #45 23 * * * /home/pi/shutdown_remoto_pc3.sh 1>/dev/null 2>&1 #45 00 * * * /home/pi/shutdown_remoto_pc.sh 1>/dev/null 2>&1 #45 00 * * * /home/pi/shutdown_remoto_pc2.sh 1>/dev/null 2>&1 #45 00 * * * /home/pi/shutdown_remoto_pc3.sh 1>/dev/null 2>&1 #10 00 * * * /home/pi/shutdown_remoto_nas.sh 1>/dev/null 2>&1 -------------------------------- sed -i "s/^\[\(core\|extra\|community\|multilib\)\]$/###[\1]/g" /etc/pacman.conf sed -i "s/^\(Include.*\)$/###\1/g" /etc/pacman.conf sed -i "s/^#\+\(\[custom\]\)$/\1/g" /etc/pacman.conf sed -i "s|^\(#\+Server.\+\)$|\1\nServer = http://raspberrypi/dev/mirrors/archlinux/$(uname -m)/20230325|g" /etc/pacman.conf sed -i "s/^[[:space:]]*\(SigLevel[[:space:]]*=[[:space:]]*Required[[:space:]]*DatabaseOptional[[:space:]]*\)$/#\1/g" /etc/pacman.conf sed -i "s/^#\+\(SigLevel[[:space:]]*=[[:space:]]*Optional[[:space:]]*TrustAll[[:space:]]*\)$/\1/g" /etc/pacman.conf --------------------------------