Skip to content

Commit

Permalink
remove unused code for starting/stoping rsyslogd
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Feb 10, 2024
1 parent cd33235 commit 191ae2b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/subroutines
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ task_faiend() {
echo "Log files are saved in $LOGDIR"
return 0
fi
killall -q sshd systemd-udevd rsyslogd
killall -q sshd systemd-udevd
umount $FAI_ROOT/proc $FAI_ROOT/sys/firmware/efi/efivars $FAI_ROOT/sys $FAI_ROOT/dev/pts 2>/dev/null
umount -arf 2>/dev/null

Expand Down Expand Up @@ -956,9 +956,6 @@ task_confdir() {
printk=${printk:-6}
echo $printk > /proc/sys/kernel/printk
create_resolv_conf
if [ -x /usr/sbin/rsyslogd ]; then
/usr/sbin/rsyslogd
fi
fi
define_fai_flags

Expand Down

0 comments on commit 191ae2b

Please sign in to comment.