update
This commit is contained in:
@@ -6,3 +6,4 @@
|
||||
--protocol https
|
||||
--latest 20
|
||||
--sort rate
|
||||
--country China
|
||||
@@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env xdg-open
|
||||
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Terminal=true
|
||||
Name[zh_CN]=first-start
|
||||
Exec=sudo sh /home/smart/first-start.sh
|
||||
Name=first-start
|
||||
@@ -1,41 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
echo "--- 系统配置安装中 ---"
|
||||
echo "--------------------"
|
||||
echo "--- 修改TeamViewer 密码 ---"
|
||||
teamviewer --passwd 'Bbt123!@#' | sed '/^\s*$/d'
|
||||
|
||||
#主机名修改
|
||||
echo "--- 主机名修改 ---"
|
||||
change-servername_s2
|
||||
|
||||
# SOS 服务
|
||||
|
||||
echo "--- SOS服务启动 ---"
|
||||
/bin/bash /home/smart/smart-organizer-service-install.sh
|
||||
|
||||
# 版本不同导致 参数名不同 将现在参数(--container-ratio)映射成之前参数(--content-ratio)或者修改程序
|
||||
echo "--- 修改dcp映射 ---"
|
||||
mv /usr/bin/dcpomatic2_create /usr/bin/dcpomatic2_create_original
|
||||
cp /home/smart/dcpomatic2_create /usr/bin/dcpomatic2_create
|
||||
chmod 755 /usr/bin/dcpomatic2_create
|
||||
|
||||
/bin/rm -rf /home/smart/.config/autostart/first-start.desktop
|
||||
|
||||
/bin/rm -rf /home/smart/first-start.sh
|
||||
|
||||
echo "--- 复制快捷方式 ---"
|
||||
cp /home/smart/Desktop/*.desktop /usr/share/applications/
|
||||
cp /home/smart/*.desktop /usr/share/applications/
|
||||
|
||||
echo "--- pacman换源 ---"
|
||||
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
|
||||
mv /etc/pacman.d/mirrorlist~ /etc/pacman.d/mirrorlist
|
||||
|
||||
echo "--- 配置完成,将在5秒后重启 ---"
|
||||
|
||||
sleep 5
|
||||
|
||||
reboot
|
||||
|
||||
@@ -13,10 +13,14 @@ random_str() {
|
||||
echo "$str"
|
||||
}
|
||||
|
||||
# 生成随机主机名
|
||||
hostname=$(random_str)
|
||||
NEW_HOSTNAME=$(random_str)
|
||||
|
||||
# 设置主机名
|
||||
hostnamectl set-hostname "$hostname"
|
||||
echo "$NEW_HOSTNAME" > /etc/hostname
|
||||
|
||||
echo "主机名已设置为: $hostname"
|
||||
cat <<EOF > /etc/hosts
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
127.0.1.1 $NEW_HOSTNAME
|
||||
EOF
|
||||
|
||||
echo "Hostname set to: $NEW_HOSTNAME"
|
||||
|
||||
@@ -13,10 +13,14 @@ random_str() {
|
||||
echo "$str"
|
||||
}
|
||||
|
||||
# 生成随机主机名
|
||||
hostname=$(random_str)
|
||||
NEW_HOSTNAME=$(random_str)
|
||||
|
||||
# 设置主机名
|
||||
hostnamectl set-hostname "$hostname"
|
||||
echo "$NEW_HOSTNAME" > /etc/hostname
|
||||
|
||||
echo "主机名已设置为: $hostname"
|
||||
cat <<EOF > /etc/hosts
|
||||
127.0.0.1 localhost
|
||||
::1 localhost
|
||||
127.0.1.1 $NEW_HOSTNAME
|
||||
EOF
|
||||
|
||||
echo "Hostname set to: $NEW_HOSTNAME"
|
||||
|
||||
@@ -184,8 +184,11 @@ neofetch
|
||||
#virtualbox-guest-utils
|
||||
|
||||
mesa
|
||||
lib32-mesa
|
||||
vulkan-intel
|
||||
lib32-vulkan-intel
|
||||
#xf86-video-intel
|
||||
xf86-video-amdgpu
|
||||
#xf86-video-amdgpu
|
||||
#xf86-video-nouveau
|
||||
|
||||
#nvidia
|
||||
@@ -237,7 +240,7 @@ xfce4-netload-plugin
|
||||
xfce4-places-plugin
|
||||
xfce4-screensaver
|
||||
xfce4-screenshooter
|
||||
xfce4-taskmanager
|
||||
#xfce4-taskmanager
|
||||
xfce4-time-out-plugin
|
||||
xfce4-timer-plugin
|
||||
xfce4-verve-plugin
|
||||
@@ -311,6 +314,7 @@ htop
|
||||
sysstat
|
||||
unhide
|
||||
gnome-disk-utility
|
||||
gnome-system-monitor
|
||||
iftop
|
||||
nmap
|
||||
zip
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
iso_name="BBTTMS"
|
||||
iso_label="BBTTMS_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
||||
iso_publisher="BBTTMS <https://yuyujing.cn>"
|
||||
iso_application="BBTTMS Arch Linux Live/Rescue DVD"
|
||||
iso_application="BBTTMS Arch Linux Live/Rescue/Install DVD"
|
||||
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
||||
install_dir="BBTTMS"
|
||||
buildmodes=('iso')
|
||||
|
||||
Reference in New Issue
Block a user