diff options
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/rsyslog.conf | 4 | ||||
-rw-r--r-- | src/etc/skel/.bashrc | 4 | ||||
-rw-r--r-- | src/etc/systemd/system/ddclient.service.d/override.conf | 11 | ||||
-rw-r--r-- | src/etc/systemd/system/frr.service.d/override.conf | 4 | ||||
-rw-r--r-- | src/etc/systemd/system/radvd.service.d/override.conf | 1 |
5 files changed, 5 insertions, 19 deletions
diff --git a/src/etc/rsyslog.conf b/src/etc/rsyslog.conf index c28e9b537..9781f0835 100644 --- a/src/etc/rsyslog.conf +++ b/src/etc/rsyslog.conf @@ -52,8 +52,8 @@ $Umask 0022 # # Stop excessive logging of sudo # -:msg, contains, " pam_unix(sudo:session): session opened for user root(uid=0) by" ~ -:msg, contains, "pam_unix(sudo:session): session closed for user root" ~ +:msg, contains, " pam_unix(sudo:session): session opened for user root(uid=0) by" stop +:msg, contains, "pam_unix(sudo:session): session closed for user root" stop # # Include all config files in /etc/rsyslog.d/ diff --git a/src/etc/skel/.bashrc b/src/etc/skel/.bashrc index 6feb613af..ba7d50003 100644 --- a/src/etc/skel/.bashrc +++ b/src/etc/skel/.bashrc @@ -57,9 +57,9 @@ if [ -n "$force_color_prompt" ]; then fi if [ "$color_prompt" = yes ]; then - PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\H\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\H${VRF:+(vrf:$VRF)}${NETNS:+(ns:$NETNS)}\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else - PS1='${debian_chroot:+($debian_chroot)}\u@\H${VRF:+:$VRF}:\w\$ ' + PS1='${debian_chroot:+($debian_chroot)}\u@\H${VRF:+:$VRF}${NETNS:+(ns:$NETNS)}:\w\$ ' fi unset color_prompt force_color_prompt diff --git a/src/etc/systemd/system/ddclient.service.d/override.conf b/src/etc/systemd/system/ddclient.service.d/override.conf deleted file mode 100644 index 09d929d39..000000000 --- a/src/etc/systemd/system/ddclient.service.d/override.conf +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -After= -After=vyos-router.service - -[Service] -WorkingDirectory= -WorkingDirectory=/run/ddclient -PIDFile= -PIDFile=/run/ddclient/ddclient.pid -ExecStart= -ExecStart=/usr/bin/ddclient -cache /run/ddclient/ddclient.cache -pid /run/ddclient/ddclient.pid -file /run/ddclient/ddclient.conf diff --git a/src/etc/systemd/system/frr.service.d/override.conf b/src/etc/systemd/system/frr.service.d/override.conf index 2e4b6e295..094f83551 100644 --- a/src/etc/systemd/system/frr.service.d/override.conf +++ b/src/etc/systemd/system/frr.service.d/override.conf @@ -1,7 +1,3 @@ -[Unit] -Before= -Before=vyos-router.service - [Service] LimitNOFILE=4096 ExecStartPre=/bin/bash -c 'mkdir -p /run/frr/config; \ diff --git a/src/etc/systemd/system/radvd.service.d/override.conf b/src/etc/systemd/system/radvd.service.d/override.conf index 472710a8b..812446dd9 100644 --- a/src/etc/systemd/system/radvd.service.d/override.conf +++ b/src/etc/systemd/system/radvd.service.d/override.conf @@ -16,3 +16,4 @@ ExecReload=/usr/sbin/radvd --logmethod stderr_clean --configtest --config /run/r ExecReload=/bin/kill -HUP $MAINPID PIDFile= PIDFile=/run/radvd/radvd.pid +Restart=always |