📄 solaris-tools.lib
字号:
## Subroutines Section : main subroutines are the createTable wich ## creates the base Table with the main row ( with Descriptions ),## the addFile wich adds a Row with the File description and date of## creations and so on, and the subVars ehich substitutes the variables## name contained in the $page var with their correct values.sub checkDisk { my @keys; my $req; @key = @_; print "<LI> Verifico l'esistenza del dischetto .......... "; $ret=`/bin/volcheck -v /dev/diskette0`; if ( "$ret" =~ m/\/dev\/diskette0 has media/ ) { print "Ok.</LI>\n"; return; } else { print "<PRE>\n\nFailed!\n\n\t Errore Riportato :"; print " Floppy non inserito!\n\n</PRE>"; print $ret; closePage(); exit 200; } return;}1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -