repo.or.cz
/
archserver.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ UP ] cgi
[archserver.git]
/
cgi
/
system_hostname.cgi
blob
09ca75b77b4d271377ab1b8281f386327477ea88
1
#!/bin/sh
2
echo -e
"Content-type: text/html
\n\n
"
3
4
this_page
=
"system.hostname"
5
source
"lib.sh"
6
source
"proccgi.sh"
7
8
root
=
$
(
pwd
)
"/system"
9
10
[
"
$F_todo
"
!=
""
] &&
export
todo
=
"df"
&&
export
hostname
=
`echo -e
$F_hostname
`
11
h_header
12
$root
/
hostname.lua
13
h_footer