[Initng-svn] r3825 - initng-ifiles/trunk/initfiles/system
svn at initng.thinktux.net
svn at initng.thinktux.net
Tue Apr 18 12:49:41 CEST 2006
Author: jimmy
Date: Tue Apr 18 12:49:40 2006
New Revision: 3825
Modified:
initng-ifiles/trunk/initfiles/system/hostname.ii
Log:
Trigger, what was you thinking?
Modified: initng-ifiles/trunk/initfiles/system/hostname.ii
==============================================================================
--- initng-ifiles/trunk/initfiles/system/hostname.ii (original)
+++ initng-ifiles/trunk/initfiles/system/hostname.ii Tue Apr 18 12:49:40 2006
@@ -1,6 +1,7 @@
service system/hostname {
need = system/initial;
#ifd debian
+ script start = {
[ -f /etc/hostname ] && HOSTNAME="$(cat /etc/hostname)"
# Keep current name if /etc/hostname is missing.
@@ -11,6 +12,7 @@
echo "Setting hostname to '$HOSTNAME'"
hostname "$HOSTNAME"
+ };
#elsed
env HOSTNAME=localhost;
#ifd fedora
More information about the Initng-svn
mailing list