[KLUG Advocacy] New SuSe User

Adam Tauno Williams advocacy@kalamazoolinux.org
Sun, 30 May 2004 09:19:10 -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 $@

Excellent, lack of "service" was sort of maddening.  And now my .ksu
lets me restart services without rooting!  Whew.