9 lines
136 B
Plaintext
9 lines
136 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
. /etc/functions.sh
|
||
|
config_load "system"
|
||
|
local section="cfg1"
|
||
|
config_get "hostname" "$section" "hostname"
|
||
|
|
||
|
echo "$hostname"
|