Help for this page
#create the bash script to determine whic Init System my $tmpScript = "/tmp/whichSysInit"; ... #if ($rslt =~/using\s(?<si>\S+)/){ # my $sysInit= $+{si};
/tmp/whichSysInit: 2: /tmp/whichSysInit: [[: not found /tmp/whichSysInit: 1: /tmp/whichSysInit: systemctl: not found ... /tmp/whichSysInit: 6: /tmp/whichSysInit: [[: not found Can not determine System Init mechanism <>. Exiting