Hello, A very small question, SuSE 8.2 offers starting up rp-pppoe in the run level services as /etc/rc.d/rc[3|5].d/S15adsl. Shorewall installs itself as S09shorewall. If I to rename the link from ''S09shorewall'' to ''S16shorewall'' (so that ppp0 will be up at startup), and then enter Yast->Runlevel editor and alter the config for whatever reason, the link gets back to ''S09shorewall''. How can I permanently fix this, for, for instance, system restart afetr power failure, or upstream ISP failure or other events like that ? (I by passed it with a cron launched every 5 minutes /usr/sbin/adsl-status || (/etc/rc.d/rc3.d/S??shorewall stop ; /etc/rc.d/rc3.d/S??wondershaper stop ; /usr/sbin/adsl-stop ; /usr/sbin/adsl-start && /etc/rc.d/rc3.d/S??shorewall start && /etc/rc.d/rc3.d/S??wondershaper start) but it is not much satisfying)
Hi,> Shorewall installs itself as S09shorewall. > > If I to rename the link from ''S09shorewall'' to ''S16shorewall'' (so that ppp0 will > be up at startup), and then enter Yast->Runlevel editor and alter the config for > whatever reason, the link gets back to ''S09shorewall''.There is likely a line in /etc/init.d/shorewall similar to this: # chkconfig: 2345 09 nn (nn will be another number, perhaps 09 as well) This tells chkconfig (which YaST''s runlevel editor most likely uses) to set up init scripts in run levels 2, 3, 4 and 5, with shorewall starting at priority ''09'' (S09shorewall) and stopping at priority ''nn'' (Knnshorewall). If you change this line, chkconfig (and presumably YaST) will create S and K links with the priorities you specify. Cheers, RP -- Ross Parker OctigaBay Systems Corp. phone: 604-484-2265 fax: 604-484-2221 cell: 604-817-3500
On Thu, 26 Jun 2003 00:19:38 +0200, <j6m@cvni.net> wrote:> > > Hello, > > A very small question, SuSE 8.2 offers starting up rp-pppoe in the run > level > services as /etc/rc.d/rc[3|5].d/S15adsl. > > Shorewall installs itself as S09shorewall. > > If I to rename the link from ''S09shorewall'' to ''S16shorewall'' (so that > ppp0 will > be up at startup), and then enter Yast->Runlevel editor and alter the > config for > whatever reason, the link gets back to ''S09shorewall''. > > How can I permanently fix this, for, for instance, system restart afetr > power > failure, or upstream ISP failure or other events like that ? >You might try modifying /etc/init.d/shorewall and changing: # Required-Start: $network to # Required-Start: $adsl -Tom -- Tom Eastep \ Shorewall - iptables made easy Shoreline, \ http://www.shorewall.net Washington USA \ teastep@shorewall.net
On 25 Jun 2003 15:58:36 -0700, Ross Parker <parker@octigabay.com> wrote:> > This tells chkconfig (which YaST''s runlevel editor most likely uses) toI believe that SuSE uses insserv rather than chkconfig. -Tom -- Tom Eastep \ Shorewall - iptables made easy Shoreline, \ http://www.shorewall.net Washington USA \ teastep@shorewall.net
Hi,> > This tells chkconfig (which YaST''s runlevel editor most likely uses) to > > I believe that SuSE uses insserv rather than chkconfig.Ok, both are provided, I don''t know what the "blessed" method is (still coming up to speed on SuSE)... Cheers, Ross -- Ross Parker OctigaBay Systems Corp. phone: 604-484-2265 fax: 604-484-2221 cell: 604-817-3500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 26 June 2003 01:29, Ross Parker wrote:> Hi, > > > > This tells chkconfig (which YaST''s runlevel editor most likely uses) to > > > > I believe that SuSE uses insserv rather than chkconfig. > > Ok, both are provided, I don''t know what the "blessed" method is (still > coming up to speed on SuSE)... > > Cheers,insserv> > Ross- -- A child of five would understand this. Send someone to fetch a child of five. Groucho Marx - ---------------------------------------------------- This mail has been scanned for virus by AntiVir for UNIX Copyright (C) 1994-2003 by H+BEDV Datentechnik GmbH. PGP ID: 589F8449 Fingerprint: EB1C FACF 6BEB 540E 8AC0 F04E 2A25 A2F1 589F 8449 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+/G3uKiWi8VifhEkRAvTnAJ0Vb9T8jXgFd+zDH5JVbvozPNAXLwCgk78x qaV3J0i2fwingZGH1eGcMz4=7pma -----END PGP SIGNATURE-----