Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (2e664ccfb4c3590fe2ca35cb624806da1fa18af3)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <ladislav.hagara AT unob.cz>
  • To: Vlad Glagolev <stealth AT sourcemage.org>
  • Cc: "sm-commit AT lists.ibiblio.org" <sm-commit AT lists.ibiblio.org>
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (2e664ccfb4c3590fe2ca35cb624806da1fa18af3)
  • Date: Tue, 20 Nov 2007 23:45:52 +0100

Hi, just thinking why you used /etc/defaultdomain? Is it some standard?
BTW, our netconf should be able to set/update domainname.
Please, could you submit bug report so we do not forget or better could
you just update netconf? :-)
Seems you are first who miss domainname.
Thanks.

--
Ladislav Hagara


> GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
>
> smgl/init.d/HISTORY | 4 ++++
> smgl/init.d/init.d/hostname.sh | 6 ++++++
> 2 files changed, 10 insertions(+)
>
> New commits:
> commit 2e664ccfb4c3590fe2ca35cb624806da1fa18af3
> Author: Vlad Glagolev <stealth AT sourcemage.org>
> Commit: Vlad Glagolev <stealth AT sourcemage.org>
>
> init.d: added domainname (@ hostname.sh). execute it @ startup if
> /etc/defaultdomain exists
>
> diff --git a/smgl/init.d/HISTORY b/smgl/init.d/HISTORY
> index 97cb5b1..e200799 100644
> --- a/smgl/init.d/HISTORY
> +++ b/smgl/init.d/HISTORY
> @@ -1,3 +1,7 @@
> +2007-11-20 Vlad Glagolev <stealth AT sourcemage.org>
> + * init.d/hostname.sh: added execution of `domainname'
> + (if exists /etc/defaultdomain containing the domain name)
> +
> 2007-09-26 David Brown <dmlb2000 AT gmail.com>
> * mountall.sh: added luks partition additions for encrypted
> partitions
> * DETAILS: updated patchlevel
> diff --git a/smgl/init.d/init.d/hostname.sh b/smgl/init.d/init.d/hostname.sh
> index e75e562..34954a7 100755
> --- a/smgl/init.d/init.d/hostname.sh
> +++ b/smgl/init.d/init.d/hostname.sh
> @@ -16,6 +16,12 @@ start()
> /bin/hostname "`cat /etc/hostname`"
> evaluate_retval
>
> + if [ -e /etc/defaultdomain ]; then
> + echo "Setting domain name..."
> + /bin/domainname "`cat /etc/defaultdomain`"
> + evaluate_retval
> + fi
> +
> echo "Setting up local network interface..."
> ifconfig lo 127.0.0.1 broadcast 127.255.255.255 netmask 255.0.0.0
> evaluate_retval





Archive powered by MHonArc 2.6.24.

Top of Page