Update 'arch.sh'

This commit is contained in:
verita84 2022-12-01 16:27:53 +00:00
parent 68bac4bb92
commit ba5e58a55f

View File

@ -133,7 +133,6 @@ install() {
services services
btrfs-tweaks btrfs-tweaks
cpuPower cpuPower
hosts
setup_script setup_script
unmount unmount
} }
@ -411,12 +410,6 @@ zram() {
echo 'KERNEL=="zram0", ATTR{disksize}="2024M" RUN="/usr/bin/mkswap /dev/zram0", TAG+="systemd""' >$TARGET/etc/udev/rules.d/99-zram.rules echo 'KERNEL=="zram0", ATTR{disksize}="2024M" RUN="/usr/bin/mkswap /dev/zram0", TAG+="systemd""' >$TARGET/etc/udev/rules.d/99-zram.rules
} }
hosts() {
echo '192.168.0.143 server2' >>$TARGET/etc/hosts
echo '192.168.0.146 server1' >>$TARGET/etc/hosts
echo '192.168.0.125 nas.local nas' >>$TARGET/etc/hosts
}
show-help() { show-help() {
echo echo
echo "arch.sh arguments:" echo "arch.sh arguments:"