4 ms·
Good Rust exercise but this kind of setup should always be done with bash. Clone, compile and execute already shows a few problems, can't find config files. Bu
by roscas 1y ago
Good Rust exercise but this kind of setup should always be done with bash.
Clone, compile and execute already shows a few problems, can't find config files. But still says "iptables rules applied".
Also keep in mind that most of people will try this long after initial install, so be careful and prompt with clear info what is being done and why.
Errors should not pass silent. Not gonna read Rust code, but tell your use what is going to be executed.
./glwiz
GLWiz Copyright (C) 2025 Andrew Kushyk
This program comes with ABSOLUTELY NO WARRANTY; for details see https://www.gnu.org/licenses/gpl-3.0.html https://www.gnu.org/licenses/gpl-3.0.html
This is free software, and you are welcome to redistribute it
under certain conditions; for details see https://www.gnu.org/licenses/gpl-3.0.html https://www.gnu.org/licenses/gpl-3.0.html
username: torwalds
home location: /home/torwalds
error: Source file ../configs/iptables.rules not found.
[sudo] password for torwalds:
iptables rules applied.
Enter 0 for a custom software list or any other number for default:
0
Selected custom software list.
Enter software packages to install (space-separated):
Running: pacman -Sy --noconfirm
^C
Take this as a positive reply. This might be good if it has a menu where you can clearly what you can do and what if affects. And do a rollback option.
Arch, Debian and Fedora rarely have the same config files and they are indeed very diferent. Be careful about that. For example Iptables is the same on the 3 but most OS config are not. Nor commands.
Still I don't know of any program that tweaks Arch. This could be a good change. Category tweak menu for system, networking, security... etc. But a dificult program too.
This reminds me of the currents archinstall. Until it exists, everybody installed Arch by hand. Now everyone uses it because it has clear options and you know what is gonna do.
Everybody starts small...