Difference between revisions of "Special:Badtitle/NS1198:Remote console setup/49/en"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Importing a new version from external source)
 
(No difference)

Latest revision as of 03:54, 24 September 2016

echo "netcat -u -l -p6666 | awk '{print \

  strftime("%d %b %Y %H:%M:%S"), \$0; fflush(stdout);}' \
  >> /var/log/netconsole" > /usr/local/sbin/netconsole
chmod a+x /usr/local/sbin/netconsole
echo "n1:23:respawn:/usr/local/sbin/netconsole" >> /etc/inittab
telinit q