Changeset 12015


Ignore:
Timestamp:
2008-07-30T18:46:17+02:00 (10 years ago)
Author:
blogic
Message:

fixes shorewall script that is used to get the systems hostname, #3672

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/shorewall-common/files/hostname

    r9353 r12015  
    22 
    33. /etc/functions.sh 
     4hostname="OpenWrt" 
     5config_cb () { 
     6        echo a $1 
     7        config_get hostname "$1" hostname 
     8        echo b $hostname 
     9} 
    410config_load "system" 
    5 local section="cfg1" 
    6 config_get "hostname"  "$section" "hostname" 
    711 
    812echo "$hostname" 
Note: See TracChangeset for help on using the changeset viewer.