etc/init.d
#etc/rc.d
#etc/rc.d/helper
+etc/rc.d/helper/aws-setup
etc/rc.d/helper/getdnsfromdhcpc.pl
#etc/rc.d/init.d
etc/rc.d/init.d/acpid
etc/rc.d/init.d/apache
+etc/rc.d/init.d/aws
etc/rc.d/init.d/beep
etc/rc.d/init.d/checkfs
etc/rc.d/init.d/cleanfs
etc/rc.d/rc0.d/S90swap
etc/rc.d/rc0.d/S99halt
#etc/rc.d/rc3.d
+ etc/rc.d/rc3.d/S00random
etc/rc.d/rc3.d/S01vnstat
etc/rc.d/rc3.d/S10sysklogd
etc/rc.d/rc3.d/S11unbound
etc/rc.d/rc3.d/S20network
etc/rc.d/rc3.d/S21leds
etc/rc.d/rc3.d/S24cyrus-sasl
- etc/rc.d/rc3.d/S25random
etc/rc.d/rc3.d/S30sshd
etc/rc.d/rc3.d/S32apache
etc/rc.d/rc3.d/S40fcron
etc/rc.d/rcsysinit.d/S60setclock
etc/rc.d/rcsysinit.d/S70console
etc/rc.d/rcsysinit.d/S73swconfig
+etc/rc.d/rcsysinit.d/S74aws
etc/rc.d/rcsysinit.d/S75firstsetup
etc/rc.d/rcsysinit.d/S80localnet
etc/rc.d/rcsysinit.d/S81pakfire
etc/init.d
#etc/rc.d
#etc/rc.d/helper
+etc/rc.d/helper/aws-setup
etc/rc.d/helper/getdnsfromdhcpc.pl
#etc/rc.d/init.d
etc/rc.d/init.d/acpid
etc/rc.d/init.d/apache
+etc/rc.d/init.d/aws
etc/rc.d/init.d/beep
etc/rc.d/init.d/checkfs
etc/rc.d/init.d/cleanfs
etc/rc.d/rc0.d/S90swap
etc/rc.d/rc0.d/S99halt
#etc/rc.d/rc3.d
+ etc/rc.d/rc3.d/S00random
etc/rc.d/rc3.d/S01vnstat
etc/rc.d/rc3.d/S10sysklogd
etc/rc.d/rc3.d/S11unbound
etc/rc.d/rc3.d/S20network
etc/rc.d/rc3.d/S21leds
etc/rc.d/rc3.d/S24cyrus-sasl
- etc/rc.d/rc3.d/S25random
etc/rc.d/rc3.d/S30sshd
etc/rc.d/rc3.d/S32apache
etc/rc.d/rc3.d/S40fcron
etc/rc.d/rcsysinit.d/S60setclock
etc/rc.d/rcsysinit.d/S70console
etc/rc.d/rcsysinit.d/S73swconfig
+etc/rc.d/rcsysinit.d/S74aws
etc/rc.d/rcsysinit.d/S75firstsetup
etc/rc.d/rcsysinit.d/S80localnet
etc/rc.d/rcsysinit.d/S81pakfire
etc/init.d
#etc/rc.d
#etc/rc.d/helper
+etc/rc.d/helper/aws-setup
etc/rc.d/helper/getdnsfromdhcpc.pl
#etc/rc.d/init.d
etc/rc.d/init.d/acpid
etc/rc.d/init.d/apache
+etc/rc.d/init.d/aws
etc/rc.d/init.d/beep
etc/rc.d/init.d/checkfs
etc/rc.d/init.d/cleanfs
etc/rc.d/rc0.d/S90swap
etc/rc.d/rc0.d/S99halt
#etc/rc.d/rc3.d
+ etc/rc.d/rc3.d/S00random
etc/rc.d/rc3.d/S01vnstat
etc/rc.d/rc3.d/S10sysklogd
etc/rc.d/rc3.d/S12acpid
etc/rc.d/rc3.d/S11unbound
etc/rc.d/rc3.d/S21leds
etc/rc.d/rc3.d/S24cyrus-sasl
- etc/rc.d/rc3.d/S25random
etc/rc.d/rc3.d/S30sshd
etc/rc.d/rc3.d/S32apache
etc/rc.d/rc3.d/S40fcron
etc/rc.d/rcsysinit.d/S50cleanfs
etc/rc.d/rcsysinit.d/S60setclock
etc/rc.d/rcsysinit.d/S70console
+etc/rc.d/rcsysinit.d/S74aws
etc/rc.d/rcsysinit.d/S75firstsetup
etc/rc.d/rcsysinit.d/S80localnet
etc/rc.d/rcsysinit.d/S81pakfire
etc/init.d
#etc/rc.d
#etc/rc.d/helper
+etc/rc.d/helper/aws-setup
etc/rc.d/helper/getdnsfromdhcpc.pl
#etc/rc.d/init.d
etc/rc.d/init.d/acpid
etc/rc.d/init.d/apache
+etc/rc.d/init.d/aws
etc/rc.d/init.d/beep
etc/rc.d/init.d/checkfs
etc/rc.d/init.d/cleanfs
etc/rc.d/rc0.d/S90swap
etc/rc.d/rc0.d/S99halt
#etc/rc.d/rc3.d
+ etc/rc.d/rc3.d/S00random
etc/rc.d/rc3.d/S01vnstat
etc/rc.d/rc3.d/S10sysklogd
etc/rc.d/rc3.d/S12acpid
etc/rc.d/rc3.d/S11unbound
etc/rc.d/rc3.d/S21leds
etc/rc.d/rc3.d/S24cyrus-sasl
- etc/rc.d/rc3.d/S25random
etc/rc.d/rc3.d/S30sshd
etc/rc.d/rc3.d/S32apache
etc/rc.d/rc3.d/S40fcron
etc/rc.d/rcsysinit.d/S50cleanfs
etc/rc.d/rcsysinit.d/S60setclock
etc/rc.d/rcsysinit.d/S70console
+etc/rc.d/rcsysinit.d/S74aws
etc/rc.d/rcsysinit.d/S75firstsetup
etc/rc.d/rcsysinit.d/S80localnet
etc/rc.d/rcsysinit.d/S81pakfire
--- /dev/null
+#!/bin/bash
+############################################################################
+# #
+# This file is part of the IPFire Firewall. #
+# #
+# IPFire is free software; you can redistribute it and/or modify #
+# it under the terms of the GNU General Public License as published by #
+# the Free Software Foundation; either version 3 of the License, or #
+# (at your option) any later version. #
+# #
+# IPFire is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+# GNU General Public License for more details. #
+# #
+# You should have received a copy of the GNU General Public License #
+# along with IPFire; if not, write to the Free Software #
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
+# #
+# Copyright (C) 2017 IPFire-Team <info@ipfire.org>. #
+# #
+############################################################################
+#
+. /opt/pakfire/lib/functions.sh
+/usr/local/bin/backupctrl exclude >/dev/null 2>&1
+
+core=123
+
+# Remove old core updates from pakfire cache to save space...
+for (( i=1; i<=$core; i++ )); do
+ rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
+done
+
+# Stop services
+
+# Extract files
+extract_files
+
++# move exec random initskript earlier
++mv /etc/rc.d/rc3.d/S??random /etc/rc.d/rc3.d/S00random
++
+# update linker config
+ldconfig
+
+# Update Language cache
+/usr/local/bin/update-lang-cache
+
+# Start services
+/etc/init.d/unbound restart
+
+# This update needs a reboot...
+touch /var/run/need_reboot
+
+# Finish
+/etc/init.d/fireinfo start
+sendprofile
+
+# Update grub config to display new core version
+if [ -e /boot/grub/grub.cfg ]; then
+ grub-mkconfig -o /boot/grub/grub.cfg
+fi
+
+sync
+
+# Don't report the exitcode last command
+exit 0
++
etc/system-release
etc/issue
- etc/rc.d/init.d/acpid
- etc/rc.d/init.d/collectd
- etc/rc.d/init.d/firstsetup
- etc/rc.d/init.d/leds
- etc/rc.d/init.d/partresize
etc/rc.d/init.d/rngd
- etc/rc.d/rc0.d/K87acpid
- etc/rc.d/rc3.d/S12acpid
- etc/rc.d/rc6.d/K87acpid
etc/ssl/certs/ca-bundle.crt
- srv/web/ipfire/cgi-bin/entropy.cgi
- srv/web/ipfire/cgi-bin/firewall.cgi
- srv/web/ipfire/cgi-bin/fwhosts.cgi
- srv/web/ipfire/cgi-bin/ovpnmain.cgi
- srv/web/ipfire/cgi-bin/remote.cgi
- usr/lib/firewall/firewall-lib.pl
- var/ipfire/langs
- var/ipfire/qos/bin/makeqosscripts.pl
+ opt/pakfire/etc/pakfire.conf
+ usr/sbin/setup
exit_with_error() {
# Set last succesfull installed core.
echo $(($core-1)) > /opt/pakfire/db/core/mine
+ # don't start pakfire again at error
+ killall -KILL pak_update
/usr/bin/logger -p syslog.emerg -t ipfire \
"core-update-${core}: $1"
exit $2
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
done
- # This update cannot be applied on ARM
- case "$(uname -a)" in
- arm*)
- exit_with_error "ERROR: Cannot update on ARM. Please re-install." 1
- ;;
- esac
-
# Do some sanity checks.
case $(uname -r) in
*-ipfire*)
# Check diskspace on root
ROOTSPACE=`df / -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
- if [ $ROOTSPACE -lt 100000 ]; then
+ if [ $ROOTSPACE -lt 220000 ]; then
exit_with_error "ERROR cannot update because not enough free space on root." 2
exit 2
fi
- # Remove the old kernel
- rm -rf /boot/System.map-*
- rm -rf /boot/config-*
- rm -rf /boot/ipfirerd-*
- rm -rf /boot/initramfs-*
- rm -rf /boot/vmlinuz-*
- rm -rf /boot/uImage-ipfire-*
- rm -rf /boot/zImage-ipfire-*
- rm -rf /boot/uInit-ipfire-*
- rm -rf /boot/dtb-*-ipfire-*
- rm -rf /lib/modules
-
# Stop services
# Extract files
ldconfig
# Update Language cache
- /usr/local/bin/update-lang-cache
-
- # Remove Nagios files, if any...
- rm -rvf \
- /etc/rc.d/init.d/nagios \
- /usr/bin/nagios \
- /etc/rc.d/rc6.d/K33nagios \
- /etc/rc.d/rc3.d/off/S67nagios \
- /etc/rc.d/rc0.d/K33nagios \
- /etc/httpd/conf/conf.d/nagios.conf \
- /etc/nagios/nagios.cfg \
- /usr/bin/p1.pl \
- /usr/bin/nagiostats \
- /usr/share/nagios/ \
- /var/nagios/
# Start services
/etc/init.d/apache restart
# This update needs a reboot...
- touch /var/run/need_reboot
+ #touch /var/run/need_reboot
# Finish
/etc/init.d/fireinfo start
grub-mkconfig -o /boot/grub/grub.cfg
fi
+
+ #
+ # After pakfire has ended run it again and update the lists and do upgrade
+ #
+ echo '#!/bin/bash' > /tmp/pak_update
+ echo 'while [ "$(ps -A | grep " update.sh")" != "" ]; do' >> /tmp/pak_update
+ echo ' sleep 1' >> /tmp/pak_update
+ echo 'done' >> /tmp/pak_update
+ echo 'while [ "$(ps -A | grep " pakfire")" != "" ]; do' >> /tmp/pak_update
+ echo ' sleep 1' >> /tmp/pak_update
+ echo 'done' >> /tmp/pak_update
+ echo '/opt/pakfire/pakfire update -y --force' >> /tmp/pak_update
+ echo '/opt/pakfire/pakfire upgrade -y' >> /tmp/pak_update
+ echo '/opt/pakfire/pakfire upgrade -y' >> /tmp/pak_update
+ echo '/opt/pakfire/pakfire upgrade -y' >> /tmp/pak_update
+ echo '/usr/bin/logger -p syslog.emerg -t ipfire "Core-upgrade finished. If you use a customized grub/uboot config"' >> /tmp/pak_update
+ echo '/usr/bin/logger -p syslog.emerg -t ipfire "Check it before reboot !!!"' >> /tmp/pak_update
+ echo '/usr/bin/logger -p syslog.emerg -t ipfire " *** Please reboot... *** "' >> /tmp/pak_update
+ echo 'touch /var/run/need_reboot ' >> /tmp/pak_update
+ #
+ killall -KILL pak_update
+ chmod +x /tmp/pak_update
+ /tmp/pak_update &
+
sync
# Don't report the exitcode last command
exit 0
+
--- /dev/null
--- /dev/null
++boot/config.txt
++boot/grub/grub.cfg
++boot/grub/grubenv
++etc/alternatives
++etc/collectd.custom
++etc/default/grub
++etc/ipsec.conf
++etc/ipsec.secrets
++etc/ipsec.user.conf
++etc/ipsec.user.secrets
++etc/localtime
++etc/shadow
++etc/snort/snort.conf
++etc/ssh/ssh_config
++etc/ssh/sshd_config
++etc/ssl/openssl.cnf
++etc/sudoers
++etc/sysconfig/firewall.local
++etc/sysconfig/rc.local
++etc/udev/rules.d/30-persistent-network.rules
++srv/web/ipfire/html/proxy.pac
++var/ipfire/dma
++var/ipfire/time
++var/ipfire/ovpn
++var/lib/alternatives
++var/log/cache
++var/log/dhcpcd.log
++var/log/messages
++var/state/dhcp/dhcpd.leases
++var/updatecache
--- /dev/null
--- /dev/null
++../../../common/acpid
--- /dev/null
--- /dev/null
++../../../common/apache2
--- /dev/null
--- /dev/null
++../../../common/apr
--- /dev/null
--- /dev/null
++../../../common/aprutil
--- /dev/null
+ etc/rc.d/init.d/swconfig
--- /dev/null
--- /dev/null
++../../../../common/armv5tel/linux-initrd-kirkwood
--- /dev/null
--- /dev/null
++../../../../common/armv5tel/linux-initrd-multi
--- /dev/null
--- /dev/null
++../../../../common/armv5tel/linux-kirkwood
--- /dev/null
--- /dev/null
++../../../../common/armv5tel/linux-multi
--- /dev/null
--- /dev/null
++../../../../common/armv5tel/rpi-firmware
--- /dev/null
--- /dev/null
++../../../../common/armv5tel/u-boot
--- /dev/null
--- /dev/null
++../../../../common/armv5tel/u-boot-kirkwood
--- /dev/null
--- /dev/null
++../../../../common/armv5tel/u-boot-mkimage
--- /dev/null
--- /dev/null
++../../../common/beep
--- /dev/null
--- /dev/null
++../../../common/cmake
--- /dev/null
--- /dev/null
++../../../common/crda
--- /dev/null
--- /dev/null
++../../../common/dhcp
--- /dev/null
+ etc/system-release
+ etc/issue
+ etc/rc.d/init.d/acpid
+ etc/rc.d/init.d/collectd
+ etc/rc.d/init.d/firstsetup
+ etc/rc.d/init.d/leds
+ etc/rc.d/init.d/partresize
+ etc/rc.d/init.d/random
+ etc/rc.d/rc0.d/K87acpid
+ etc/rc.d/rc3.d/S12acpid
+ etc/rc.d/rc6.d/K87acpid
+ srv/web/ipfire/cgi-bin/entropy.cgi
+ srv/web/ipfire/cgi-bin/firewall.cgi
+ srv/web/ipfire/cgi-bin/fwhosts.cgi
+ srv/web/ipfire/cgi-bin/ovpnmain.cgi
+ srv/web/ipfire/cgi-bin/remote.cgi
+ usr/lib/firewall/firewall-lib.pl
+ var/ipfire/langs
+ var/ipfire/qos/bin/makeqosscripts.pl
--- /dev/null
--- /dev/null
++../../../common/flex
--- /dev/null
--- /dev/null
++../../../../common/i586/grub
--- /dev/null
--- /dev/null
++../../../../common/i586/intel-microcode
--- /dev/null
--- /dev/null
++../../../../common/i586/linux
--- /dev/null
--- /dev/null
++../../../../common/i586/linux-initrd
--- /dev/null
--- /dev/null
++../../../common/iw
--- /dev/null
--- /dev/null
++../../../common/jwhois
--- /dev/null
--- /dev/null
++../../../common/libidn
--- /dev/null
--- /dev/null
++../../../common/multipath-tools
--- /dev/null
--- /dev/null
++../../../common/pcre
--- /dev/null
--- /dev/null
++../../../common/tar
--- /dev/null
--- /dev/null
++../../../common/unbound
--- /dev/null
--- /dev/null
++../../../common/wget
--- /dev/null
--- /dev/null
++../../../../common/x86_64/grub
--- /dev/null
--- /dev/null
++../../../../common/x86_64/intel-microcode
--- /dev/null
--- /dev/null
++../../../../common/x86_64/linux
--- /dev/null
--- /dev/null
++../../../../common/x86_64/linux-initrd
--- /dev/null
+ ../../../common/xtables-addons
--- /dev/null
+ #!/bin/bash
+ ############################################################################
+ # #
+ # This file is part of the IPFire Firewall. #
+ # #
+ # IPFire is free software; you can redistribute it and/or modify #
+ # it under the terms of the GNU General Public License as published by #
+ # the Free Software Foundation; either version 3 of the License, or #
+ # (at your option) any later version. #
+ # #
+ # IPFire is distributed in the hope that it will be useful, #
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of #
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
+ # GNU General Public License for more details. #
+ # #
+ # You should have received a copy of the GNU General Public License #
+ # along with IPFire; if not, write to the Free Software #
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
+ # #
+ # Copyright (C) 2018 IPFire-Team <info@ipfire.org>. #
+ # #
+ ############################################################################
+ #
+ . /opt/pakfire/lib/functions.sh
+ /usr/local/bin/backupctrl exclude >/dev/null 2>&1
+
+ core=122
+
+ exit_with_error() {
+ # Set last succesfull installed core.
+ echo $(($core-1)) > /opt/pakfire/db/core/mine
+ # don't start pakfire again at error
+ killall -KILL pak_update
+ /usr/bin/logger -p syslog.emerg -t ipfire \
+ "core-update-${core}: $1"
+ exit $2
+ }
+
+ # Remove old core updates from pakfire cache to save space...
+ for (( i=1; i<=$core; i++ )); do
+ rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
+ done
+
+ KVER="xxxKVERxxx"
+
+ # Backup uEnv.txt if exist
+ if [ -e /boot/uEnv.txt ]; then
+ cp -vf /boot/uEnv.txt /boot/uEnv.txt.org
+ fi
+
+ # Do some sanity checks.
+ case $(uname -r) in
+ *-ipfire*)
+ # Ok.
+ ;;
+ *)
+ exit_with_error "ERROR cannot update. No IPFire Kernel." 1
+ ;;
+ esac
+
+ # Check diskspace on root
+ ROOTSPACE=`df / -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
+
+ if [ $ROOTSPACE -lt 80000 ]; then
+ exit_with_error "ERROR cannot update because not enough free space on root." 2
+ exit 2
+ fi
+
+ # Remove the old kernel
+ rm -rf /boot/System.map-*
+ rm -rf /boot/config-*
+ rm -rf /boot/ipfirerd-*
+ rm -rf /boot/initramfs-*
+ rm -rf /boot/vmlinuz-*
+ rm -rf /boot/uImage-ipfire-*
+ rm -rf /boot/zImage-ipfire-*
+ rm -rf /boot/uInit-ipfire-*
+ rm -rf /boot/dtb-*-ipfire-*
+ rm -rf /lib/modules
+ rm -f /etc/sysconfig/lm_sensors
+
+ # Stop services
+
+ # Extract files
+ extract_files
+
+ # update linker config
+ ldconfig
+
+ # Update Language cache
+ /usr/local/bin/update-lang-cache
+
+ # Remove Nagios files, if any...
+ rm -rvf \
+ /etc/rc.d/init.d/nagios \
+ /usr/bin/nagios \
+ /etc/rc.d/rc6.d/K33nagios \
+ /etc/rc.d/rc3.d/off/S67nagios \
+ /etc/rc.d/rc0.d/K33nagios \
+ /etc/httpd/conf/conf.d/nagios.conf \
+ /etc/nagios/nagios.cfg \
+ /usr/bin/p1.pl \
+ /usr/bin/nagiostats \
+ /usr/share/nagios/ \
+ /var/nagios/
+
+ # Start services
+ /etc/init.d/apache restart
+
+ # Upadate Kernel version uEnv.txt
+ if [ -e /boot/uEnv.txt ]; then
+ sed -i -e "s/KVER=.*/KVER=${KVER}/g" /boot/uEnv.txt
+ fi
+
+ # call user update script (needed for some arm boards)
+ if [ -e /boot/pakfire-kernel-update ]; then
+ /boot/pakfire-kernel-update ${KVER}
+ fi
+
+ mv /etc/rc.d/rc3.d/S??random /etc/rc.d/rc3.d/S00random
+
+ case "$(uname -m)" in
+ i?86)
+ # Force (re)install pae kernel if pae is supported
+ rm -rf /opt/pakfire/db/installed/meta-linux-pae
+ if [ ! "$(grep "^flags.* pae " /proc/cpuinfo)" == "" ]; then
+ ROOTSPACE=`df / -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
+ BOOTSPACE=`df /boot -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1`
+ if [ $BOOTSPACE -lt 22000 -o $ROOTSPACE -lt 120000 ]; then
+ /usr/bin/logger -p syslog.emerg -t ipfire \
+ "core-update-${core}: WARNING not enough space for pae kernel."
+ else
+ echo "Name: linux-pae" > /opt/pakfire/db/installed/meta-linux-pae
+ echo "ProgVersion: 0" >> /opt/pakfire/db/installed/meta-linux-pae
+ echo "Release: 0" >> /opt/pakfire/db/installed/meta-linux-pae
+ fi
+ fi
+ ;;
+ esac
+
+ # This update needs a reboot...
+ #touch /var/run/need_reboot
+
+ # Finish
+ /etc/init.d/fireinfo start
+ sendprofile
+
+ # Install new grub and update config
+ if [ -e /boot/grub/grub.cfg ]; then
+ /usr/local/bin/update-bootloader
+ fi
+
+ sync
+
+ # Reload microcode
+ modprobe microcode
+ if [ -w "/sys/devices/system/cpu/microcode/reload" ]; then
+ echo 1 > /sys/devices/system/cpu/microcode/reload
+ fi
+
+ # Don't report the exitcode last command
+ exit 0
###############################################################################
# #
# IPFire.org - A linux based firewall #
- # Copyright (C) 2007-2016 IPFire Team <info@ipfire.org> #
+ # Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
- ###############################################################################
###############################################################################
# Definitions
ln -sf ../init.d/unbound /etc/rc.d/rc3.d/S11unbound
ln -sf ../init.d/unbound /etc/rc.d/rc6.d/K79unbound
ln -sf ../init.d/random /etc/rc.d/rc0.d/K45random
- ln -sf ../init.d/random /etc/rc.d/rc3.d/S25random
+ ln -sf ../init.d/random /etc/rc.d/rc3.d/S00random
ln -sf ../init.d/random /etc/rc.d/rc6.d/K45random
ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
ln -sf ../init.d/client175 /etc/rc.d/rc0.d/K34client175
ln -sf ../init.d/setclock /etc/rc.d/rc0.d/K47setclock
ln -sf ../init.d/setclock /etc/rc.d/rc6.d/K47setclock
ln -sf ../init.d/console /etc/rc.d/rcsysinit.d/S70console
+ ln -sf ../init.d/aws /etc/rc.d/rcsysinit.d/S74aws
ln -sf ../init.d/firstsetup /etc/rc.d/rcsysinit.d/S75firstsetup
ln -sf ../init.d/localnet /etc/rc.d/rcsysinit.d/S80localnet
ln -sf ../init.d/pakfire /etc/rc.d/rcsysinit.d/S81pakfire
NAME="IPFire" # Software name
SNAME="ipfire" # Short name
VERSION="2.21" # Version number
-CORE="122" # Core Level (Filename)
+CORE="123" # Core Level (Filename)
PAKFIRE_CORE="122" # Core Level (PAKFIRE)
GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` # Git Branch
SLOGAN="www.ipfire.org" # Software slogan
# lfsmake2 backports KCFG="-multi"
# lfsmake2 e1000e KCFG="-multi"
# lfsmake2 igb KCFG="-multi"
+ # lfsmake2 ixgbe KCFG="-multi"
+ lfsmake2 xtables-addons KCFG="-multi"
+ lfsmake2 linux-initrd KCFG="-multi"
+ ;;
+
+ aarch64)
+ # arm multi platform (RPi3, OrangePi PC2 ...) kernel build
+ lfsmake2 linux KCFG="-multi"
+ # lfsmake2 backports KCFG="-multi"
+ # lfsmake2 e1000e KCFG="-multi"
+ # lfsmake2 igb KCFG="-multi"
# lfsmake2 ixgbe KCFG="-multi"
lfsmake2 xtables-addons KCFG="-multi"
lfsmake2 linux-initrd KCFG="-multi"
lfsmake2 mc
lfsmake2 wget
lfsmake2 bridge-utils
- # lfsmake2 screen
lfsmake2 smartmontools
lfsmake2 htop
lfsmake2 chkconfig
lfsmake2 iftop
lfsmake2 mdns-repeater
lfsmake2 i2c-tools
+ lfsmake2 nss-myhostname
}
buildinstaller() {