[KLUG Advocacy] New SuSe User

Bruce Smith advocacy@kalamazoolinux.org
Thu, 27 May 2004 11:35:26 -0400


> Also, I see where I can ifup and ifdown but there doesn't seem to be a
> 'service network restart' or even /etc/rc.d/init.d/network restart.


/etc/init.d/network restart


Or if you can make "service" into a script (and put in /usr/local/bin):


#!/bin/sh
if [ ! -x /etc/init.d/${1:-none} ]; then
        echo Unknown service: $1
        exit
fi
SERVICE=$1
shift
/etc/init.d/$SERVICE $@