diff options
| author | Andrii Klymenko <a.klymenko@vyos.io> | 2026-09-07 13:07:24 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-07 13:07:24 +0300 |
| commit | d2c5731563c7ca0b7eeeb3c6537ad0d9fb504ec3 (patch) | |
| tree | 90846938114b1c89a0b17329c017375daa3fd169 /data | |
| parent | d2525d97a11de9f4799dbb6d425c5c9c51edf179 (diff) | |
| parent | b553de025eb543dfcb8dac0a7b938f6fe6b84e0f (diff) | |
| download | vyos-build-d2c5731563c7ca0b7eeeb3c6537ad0d9fb504ec3.tar.gz vyos-build-d2c5731563c7ca0b7eeeb3c6537ad0d9fb504ec3.zip | |
Merge pull request #1292 from c-po/T9283-build-warnings
image: T9283: clean up warnings and errors during ISO build
Diffstat (limited to 'data')
| -rwxr-xr-x | data/live-build-config/hooks/live/08-sysconf.chroot | 32 | ||||
| -rwxr-xr-x | data/live-build-config/hooks/live/18-enable-disable_services.chroot | 3 |
2 files changed, 0 insertions, 35 deletions
diff --git a/data/live-build-config/hooks/live/08-sysconf.chroot b/data/live-build-config/hooks/live/08-sysconf.chroot deleted file mode 100755 index aac17585..00000000 --- a/data/live-build-config/hooks/live/08-sysconf.chroot +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -cp -f /opt/vyatta/etc/default_ssh /etc/default/ssh ->/etc/pam_radius_auth.conf - -update_sysctl_conf () -{ - var=$1 - val=$2 - comment=$3 - sysctl_conf=/etc/sysctl.conf - - if grep -q "^${var}[[:space:]]*=" $sysctl_conf ; then - sed -i "/^${var}[[:space:]]*=/ s,=.*,= ${val}," $sysctl_conf - elif grep -q "^#[[:space:]]*${var}[[:space:]]*=" $sysctl_conf ; then - sed -i "/^#[[:space:]]*${var}[[:space:]]*=/ { s,^#[[:space:]]*,, ; s,[[:space:]]*=.*, = ${val},} " $sysctl_conf - else - cat <<-EOF >> $sysctl_conf - - # $comment - $var = $val - EOF - fi -} - -update_sysctl_conf kernel.printk "4 4 1 7" \ - "the following stops low-level messages on console" - -# Local Variables: -# mode: shell-script -# sh-indentation: 4 -# End: diff --git a/data/live-build-config/hooks/live/18-enable-disable_services.chroot b/data/live-build-config/hooks/live/18-enable-disable_services.chroot index 3ef8477d..80c37e64 100755 --- a/data/live-build-config/hooks/live/18-enable-disable_services.chroot +++ b/data/live-build-config/hooks/live/18-enable-disable_services.chroot @@ -47,9 +47,6 @@ systemctl disable keepalived.service systemctl disable ipvsadm.service systemctl disable telegraf.service systemctl disable ndppd.service -systemctl disable ipsec.service -systemctl disable strongswan.service -systemctl disable strongswan-starter.service systemctl disable strongswan.service systemctl disable avahi-daemon.service systemctl disable atop-rotate.timer |
