Masato Taruishi
taru****@users*****
2004年 10月 15日 (金) 22:28:46 JST
=================================================================== RCS file: ultrapossum/init.d/15variable,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ultrapossum/init.d/15variable 2004/10/13 06:56:41 1.13 +++ ultrapossum/init.d/15variable 2004/10/15 13:28:46 1.14 @@ -36,3 +36,14 @@ eval "`ultrapossum_parse_config_shell "$ULTRAPOSSUMCF"`" eval "`ultrapossum_parse_config_shell "$SYSCONFDIR/secret.cf" 2> /dev/null`" eval "`ultrapossum_parse_config_shell "$SYSCONFDIR/projects/$ULTRAPOSSUM_PROJECT"`" + +if test "$UNAME" = "Linux"; then + FQDN="`hostname --fqdn`" +else + if test "x$DOMAIN" = "x"; then + FQDN="$HOST" + else + FQDN="$HOST.$DOMAIN" + fi +fi + =================================================================== RCS file: ultrapossum/init.d/30logical,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ultrapossum/init.d/30logical 2004/10/13 06:56:41 1.5 +++ ultrapossum/init.d/30logical 2004/10/15 13:28:46 1.6 @@ -11,13 +11,3 @@ fi fi -if test "$UNAME" = "Linux"; then - FQDN="`hostname --fqdn`" -else - if test "x$DOMAIN" = "x"; then - FQDN="$HOST" - else - FQDN="$HOST.$DOMAIN" - fi -fi -