git://git.onelab.eu
/
bootcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gettty on tty2 should be spawned as per an entry in pl_boot.target.wants/
[bootcd.git]
/
initscripts
/
pl_functions
diff --git
a/initscripts/pl_functions
b/initscripts/pl_functions
index
040a37a
..
e2d24c1
100644
(file)
--- a/
initscripts/pl_functions
+++ b/
initscripts/pl_functions
@@
-19,8
+19,14
@@
function pl_network_sanity_checks () {
verbose_run_command lsmod
verbose_show_message Configured interfaces
verbose_run_command ifconfig
verbose_run_command lsmod
verbose_show_message Configured interfaces
verbose_run_command ifconfig
+ verbose_show_message cat /proc/net/dev
+ verbose_run_command cat /proc/net/dev
verbose_show_message Routing table
verbose_run_command netstat -rn
verbose_show_message Routing table
verbose_run_command netstat -rn
+ BOOT_FILE=/usr/boot/boot_server
+ BOOT_SERVER=$(cat $BOOT_FILE)
+ verbose_show_message Pinging boot server "(" $BOOT_SERVER ")" from file $BOOT_FILE
+ verbose_run_command ping -c 4 -w 4 $BOOT_SERVER
verbose_show_message Pinging google public DNS
verbose_run_command ping -c 1 -w 5 8.8.8.8
# try to resolve this hostname as that's the one used for ntp
verbose_show_message Pinging google public DNS
verbose_run_command ping -c 1 -w 5 8.8.8.8
# try to resolve this hostname as that's the one used for ntp