moved from centos 7 to debian-bookworm

includes modifications in install.py and router.py
This commit is contained in:
l_samenv
2024-03-05 08:03:00 +01:00
parent 8680e5b2a9
commit e4e37eb049
17 changed files with 110 additions and 64 deletions

View File

@ -0,0 +1,18 @@
# Defaults for isc-dhcp-server (sourced by /etc/init.d/isc-dhcp-server)
# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPDv4_CONF=/etc/dhcp/dhcpd.conf
#DHCPDv6_CONF=/etc/dhcp/dhcpd6.conf
# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPDv4_PID=/var/run/dhcpd.pid
#DHCPDv6_PID=/var/run/dhcpd6.pid
# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="enp2s0 enp3s0 enp4s0"
INTERFACESv6=""

View File

@ -7,6 +7,6 @@ function service_status () {
echo ${name} $(systemctl is-active ${name}) $enabled; \
done | column -t | grep --color=always '\(disabled\|inactive\|$\)' | nl -bn
}
alias current='cat /root/aputools/current'
alias current='cat /home/l_samenv/boxtools/current'
service_status router frappy display
echo "> current # show currently installed state"

View File

@ -5,7 +5,7 @@ Before=network.pre-target
[Service]
Type=oneshot
ExecStart = /usr/bin/bash /root/aputools/sethostname.sh
ExecStart = /usr/bin/bash /home/l_samenv/boxtools/sethostname.sh
RemainAfterExit=yes
[Install]