X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=blobdiff_plain;f=usr_sbin%2Fgrml-hostname;h=ade8631e240056bb1f666c115bf8369a83e11d2e;hp=b7a6eab8667424bc23c8b97f2a04c07143b6282b;hb=8dccac94ef19a538ecd4de3ddb71f613d453f7e1;hpb=746c45644ba203bfd6e34a9311104cc3475630d6 diff --git a/usr_sbin/grml-hostname b/usr_sbin/grml-hostname index b7a6eab..ade8631 100755 --- a/usr_sbin/grml-hostname +++ b/usr_sbin/grml-hostname @@ -75,7 +75,7 @@ Configuration of myhostname in /etc/postfix/main.cf has been adjusted as well. D /etc/init.d/avahi-daemon restart fi - /etc/init.d/hostname.sh + hostname "$NEW_HOSTNAME" if [ -z "$NONINTERACTIVE" ] ; then dialog --stdout --title "${PN}" --msgbox "Setting hostname to $NEW_HOSTNAME was successful.$POSTFIX" 0 0