[Frugalware-darcs] fwrunit-scripts: fwrunit-scripts: don't start
network services if nonetwork was added on kernel commandline
AlexExtreme
alex at alex-smith.me.uk
Sat Oct 14 13:02:41 CEST 2006
Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=fwrunit-scripts;a=darcs_commitdiff;h=20061014110252-46e39-061f7de45a413dc2097bb802314ecef54851aa38.gz;
[fwrunit-scripts: don't start network services if nonetwork was added on kernel commandline
AlexExtreme <alex at alex-smith.me.uk>**20061014110252] {
hunk ./lib/init/multi.d/03interfaces 15
-if [ ! -z "`grep nonetwork /proc/cmdline`" -o ! -z "`grep single /proc/cmdline`" ]; then
+if [ ! -z "`grep nonetwork /proc/cmdline`" ]; then
hunk ./lib/init/multi.d/04firewall 13
+if [ ! -z "`grep nonetwork /proc/cmdline`" ]; then
+ msg $"Network was disabled on kernel command line!"
+fi
+
hunk ./lib/init/multi.d/04firewall 18
-daemon=$"iptables firewall"
hunk ./lib/init/multi.d/08inetd 15
-if [ ! -z "`grep nonetwork /proc/cmdline`" -o ! -z "`grep single /proc/cmdline`" ]; then
+if [ ! -z "`grep nonetwork /proc/cmdline`" ]; then
}
More information about the Frugalware-darcs
mailing list