restart (and therefore reload when linuxconf is not installed) doesn't work, since it does '$0 stop' '$0 start' and the script has earlier cd'ed to /etc/sysconfig/network-scripts where no $0 (./network) exists. The problem is trivial to solve in several ways but i dont know which is considered the most clean, so i'll let you do it :)
More information needed; the bug report is mostly confusing. What exactly it is failing and how can one reproduce it?
The problem report is that "network restart" won't work if it is invoked with a relative path. `/etc/rc.d/init.d/network restart' will work, 'cd /etc/rc.d/init.d; network restart' won't, and neither will 'cd /etc/rc.d; ./init.d/network restart'. The reference to 'linuxconf' points out that 'network reload' suffers from the same bug when there is no 'linuxconf'. This isn't much of a loss IMHO, although trying to re-invoke your own executable in general is very bad style. If we really wanted this to work, we'd define shell functions within the 'network' script and then call them: netstop () { # blah blah blah } netstart () { # blah blah blah } case "$1" in start) netstart ;; stop) netstop ;; restart) netstop netstart ;; esac
fixed