On Sat, Nov 26, 2016 at 10:15 PM, Erich Titl <erich.t...@think.ch> wrote:
> Yes and I am puzzled myself, why should saving the config change anything? > The start/stop script should be the same. > > About restart, yes this has not been done, but then I never use restart, > would not know why on a freshly installed system. I always use 'start'. > Restart should actually only be used after a successful start and why > 'start' does not load the modules would be mystery to me. > > start() { > echo "Starting IPv4 shorewall rules..." > wait_for_pppd > [ -x /usr/sbin/mount_modules ] && /usr/sbin/mount_modules > /sbin/shorewall $OPTIONS start $STARTOPTIONS > [ -x /usr/sbin/umount_modules ] && /usr/sbin/umount_modules > } > ... > restart() { > echo "Restarting IPv4 shorewall rules..." > /sbin/shorewall restart $RESTARTOPTIONS > } > Now it makes sense. firewall# which shorewall /sbin/shorewall # /etc/init.d/shorewall start does mount the modules, but # shorewall start does not. I did try "shorewall start", but by saving and rebooting the system was using "/etc/init.d/shorewall start". ------------------------------------------------------------------------------ ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/