summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/systemconfig.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-06 21:26:53 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-06 21:26:53 (GMT)
commit629343a454985ccdcdf2d8ef926d669a318ec08b (patch)
treece0d0bb77e88b067b2e656704097c18b17fbc424 /abs/core-testing/LinHES-config/systemconfig.sh
parent7f88afbbba19a79ea408459eac443289baed8443 (diff)
downloadlinhes_pkgbuild-629343a454985ccdcdf2d8ef926d669a318ec08b.zip
linhes_pkgbuild-629343a454985ccdcdf2d8ef926d669a318ec08b.tar.gz
linhes_pkgbuild-629343a454985ccdcdf2d8ef926d669a318ec08b.tar.bz2
Adding in support for DDNS.
Currently it's using dyndns.org for ddns services.
Diffstat (limited to 'abs/core-testing/LinHES-config/systemconfig.sh')
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.sh17
1 files changed, 16 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh
index 52b7ba3..19cdbf9 100755
--- a/abs/core-testing/LinHES-config/systemconfig.sh
+++ b/abs/core-testing/LinHES-config/systemconfig.sh
@@ -727,6 +727,15 @@ then
fi
+if [ x$DDnsEnable = x1 ]
+then
+ ser_daemon_add="inadyn $ser_daemon_add"
+ ser_install="inadyn $ser_install"
+else
+ ser_daemon_remove="inadyn $ser_daemon_remove"
+ ser_remove="inadyn $ser_remove"
+fi
+
#Setting the default, just to avoid the or statement..
@@ -1067,6 +1076,7 @@ function setup_web_auth {
}
+
#----------------------------------------------------MAIN PROGRAM-------------------------------------------
#misc,sleep,hostype,advanced,audio
eval LAST=\$$#
@@ -1104,6 +1114,12 @@ case $i in
;;
reloadfe) reloadfe
;;
+ ddns) services
+ install=$ser_install
+ remove=$ser_remove
+ daemon_add=$ser_daemon_add
+ daemon_remove=$ser_daemon_remove
+ ;;
this_is_install) MV_NEW_INSTALL="true"
;;
@@ -1321,7 +1337,6 @@ then
fi
-
daemons
#add check for lcd, and restart if needed.