summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config
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
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')
-rw-r--r--abs/core-testing/LinHES-config/PKGBUILD4
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.sh17
2 files changed, 18 insertions, 3 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index 4da7463..84c7bf0 100644
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,9 +1,9 @@
pkgname=LinHES-config
pkgver=1.0
-pkgrel=296
+pkgrel=298
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
pkgdesc="Install and configure your system"
-depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan )
+depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan system-templates )
arch=('i686')
source=(mythinstall.bin myth_user_call file_time_offset.py install-ui.xml install_proxy.sh install_functions.sh systemconfig.sh install_db_chroot.sh restore_default_settings.sh xconfig.sh timezip.py soundconfig.sh LinHES-release issue MythVantage.sh create_master.sh build_diskless.sh networkconfig.sh timezone.bin autocard.py restore_km_db_chroot.sh README)
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.