init
This commit is contained in:
19
root/observium/sfp_view/script.sh
Executable file
19
root/observium/sfp_view/script.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
TFPATH=/scripts/root/observium/sfp_view
|
||||
|
||||
echo "<html>
|
||||
<head>
|
||||
<!-- $TFPATH/script.sh -->
|
||||
</head>
|
||||
<body>
|
||||
" > $TFPATH/sfp_overview.html
|
||||
|
||||
mysql -H -uroot -plunakoshix -Dobservium < $TFPATH/script.sql >> $TFPATH/sfp_overview.html
|
||||
|
||||
echo "
|
||||
</body>
|
||||
</html>
|
||||
" >> $TFPATH/sfp_overview.html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user