Commit Graph

82 Commits

Author SHA1 Message Date
Michael Tremer
dc7d6b204d make.sh: Cleanup of polluted environment
The build environment is using a number of variables which
occasionally conflicted with some other build systems.

This patch cleans that up by renaming some variables and
later unexporting them in the lfs files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:02:03 +01:00
Jonatan Schlag
629fcb1d47 Move network initscripts to src/initscripts/networking
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
2017-02-22 11:57:20 +01:00
Jonatan Schlag
33f53d55cc Move all initscripts for the system to src/initscripts/system
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
2017-02-22 11:54:00 +01:00
Jonatan Schlag
8bc8c282c9 Move all Initscripts of the system, into an extra directory
Till now all init scripts going into src/initscripts/init.d so they are
installed by the lfs file initscripts. Because of that they also appear
in the rootfile of the "package" initscripts.

This has some disadvantages:
- the initscripts of the packages appear in the 3 rootfiles (one for
each arch) which are annoying because for every package with an
initscript 4 rootfiles (the 3 of the initscript package + the rootfile
of the package) are important.
- The rootfiles for a package are installed by lfs/initscripts but this
should happen only in the build of the package

To solve this issues all rootfiles for the core system are moved into
src/initscripts/init.d/common. Only the initscript in this directory are
installed by lfs/initscripts. So all initscripts for packages are
located in src/initscripts/init.d and are not installed by
lfs/initscripts.
So only the initscripts of the system appear in the 3 rootfiles of the
initscripts package. The initscript of a package appear only in the
rootfile of the package. This makes the maintaining of initscript
easier.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
2017-02-22 10:23:10 +01:00
Arne Fitzenreiter
693928d781 unbound: start prior network
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-10-12 23:01:51 +02:00
Michael Tremer
811f3d3050 unbound: Start service after network has been brought up
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-09-12 21:13:25 +01:00
Michael Tremer
a66c4880d9 unbound: Start service at system boot
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-09-12 20:11:47 +01:00
Michael Tremer
61b4250af5 Drop dnsmasq
This will be replaced by unbound

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-08-06 19:25:48 +01:00
Arne Fitzenreiter
3917eadc29 initskripts: remove obsolete checkfstab
the file update the bootdevice to uuid in fstab and grub1 config.
this is not needed since we use uuid at default and grub2

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-05-06 15:40:38 +02:00
Michael Tremer
ee3dec50a3 ramdisk: Make usage of ramdisk configurable
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-12-03 14:41:49 +00:00
Alexander Marx
c4a451eead Remove ramdisks for RRD databases
Ramdisks are very limited in space and as new graphs
are generated for OpenVPN N2N connections, etc. more
space is necessary.

This patch will enable ramdisks for all systems with more
than 490M of memory and allows the user to force using
a ramdisk on systems with less memory.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
Acked-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-12-03 13:14:23 +00:00
Michael Tremer
3db584817d Remove old VLAN initscript
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-05 12:43:53 +01:00
Michael Tremer
600b99fb31 network: Configure device names from /var/ipfire/ethernet/settings
Instead of creating a copy of the configuration values and
for better extensibility, we will have udev execute a script
that parses /var/ipfire/ethernet/settings and will return the
correct name of the corresponding device (green0, blue0, ...).
2015-03-09 16:31:59 +01:00
Michael Tremer
de0ccf8f8c Merge branch 'master' into next
Conflicts:
	make.sh
2015-02-04 13:24:05 +01:00
Arne Fitzenreiter
ffeb717f2d add swconfig for lamobo-r1 switch setup. 2015-01-27 20:21:17 +01:00
Dirk Wagner
f0dd065425 Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into monit
Conflicts:
	config/etc/logrotate.conf
2015-01-06 15:51:29 +01:00
Dirk Wagner
5ae99dd2d1 Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into monit 2014-10-15 22:38:13 +02:00
Michael Tremer
722b419dea initscripts: Mount /var/lock after all other FSes have been mounted.
For example /var/lock does not exist, yet when mountkernfs is
called.
2014-09-04 11:12:41 +02:00
Michael Tremer
a24546794d Update auto-resize code to work with any partition number 2014-08-24 13:29:18 +02:00
Michael Tremer
f204a2e649 initscripts: Remove old firewall-reload symlink 2014-08-21 10:47:41 +02:00
Michael Tremer
3756506005 initscripts: Remove old firewall-reload symlink 2014-08-21 10:46:34 +02:00
Timo Eissler
4b12aa414c firewall: fix faulty masquerading packets 2014-08-08 09:53:56 +02:00
Dirk Wagner
6047b2c178 monit addon: Fixed initscript stuff 2014-05-17 18:42:21 +02:00
Michael Tremer
2a07aa9d9c dialctrl: Remove defunct script. 2014-03-17 14:17:44 +01:00
Michael Tremer
66f6b279b0 Reload all firewall rules when /etc/init.d/firewall reload is executed. 2014-02-25 12:23:09 +01:00
Michael Tremer
dfa68452be sysctl: Load variables first thing when booting. 2014-02-14 17:35:37 +01:00
Michael Tremer
7d7740a467 firewall: Initialize basic ruleset before entering runlevel 3. 2014-02-14 12:48:11 +01:00
Michael Tremer
8af8d5d127 rng-tools: New package.
The rng daemon will be installed by default and will
also be installed when a hardware random number generator
is found. It will then read random data from the hardware
random number generator and will feed it into the kernel's
entropy pool.

If no HW RNG is available, a warning will be printed
at boot time.
2014-01-29 17:22:48 +01:00
Alexander Marx
8039a71099 Firewall: renamed forwardfwctrl to firewallctrl 2013-10-24 09:42:42 +02:00
Michael Tremer
3027c6bb96 initscripts: Reset links that reload the firewall after RED connected. 2013-08-12 14:45:07 +02:00
Alexander Marx
9efd8d1c7e Forward Firewall: delete old portforwarding from system and fix for wlan-firewall part 1 (loop) 2013-08-09 14:11:56 +02:00
Alexander Marx
4b147d950b Forward Firewall: deleted symlink to outgoingfwctrl from lfs/initscripts 2013-08-09 14:08:14 +02:00
Michael Tremer
111c99ddfa Forward Firewall: applied all changes as diff and added new files. Also deleted c files from xtaccess and setdmzholes.
Signed-off-by: Alexander Marx <amarx@ipfire.org>

Conflicts:
	config/backup/include
	lfs/configroot
	lfs/usb-stick
2013-08-09 14:02:02 +02:00
Stefan Schantl
71ea0d688d Add wireless client for RED to startup process.
http://wishlist.ipfire.org/wish/wireless-client-on-red
2013-06-05 19:33:29 +02:00
Arne Fitzenreiter
10c30c2066 initskripts: acpid need syslog.
also added stop at shutdown to suppress ugly messages on console.
2012-11-13 10:42:38 +01:00
Michael Tremer
444b9419e2 acpid: Add initscript for acpi daemon. 2012-11-11 23:02:03 +01:00
Arne Fitzenreiter
0721f5a634 setclock: save systemclock to hwclock at shutdown. 2012-11-06 16:23:33 +01:00
Michael Tremer
d23fc91220 Add a script to create VLAN interfaces (on console). 2012-08-24 15:58:38 +02:00
Michael Tremer
9f86ef66a0 Remove start and stop beep sounds. 2011-09-18 14:38:48 +02:00
Michael Tremer
e4436f12a9 Remove checkfstab script from boot.
It does some trouble and is actually not needed anymore.
2011-09-17 20:08:29 +02:00
Arne Fitzenreiter
b1e4de058e add initskript to wait until slower drives are present at boot.
fixes: #757
2011-04-17 18:01:03 +02:00
Arne Fitzenreiter
485e4c1538 fireinfo: move initskript after sysklogd was started. 2010-12-28 12:16:43 +01:00
Michael Tremer
579a39d0ba Add webinterface frontend for fireinfo. 2010-12-27 15:47:22 +01:00
Arne Fitzenreiter
35f9033587 Add client175 (webif for mpd) addon. 2010-11-21 11:47:51 +01:00
Arne Fitzenreiter
b6af41a572 Merge branch 'master' into next
Conflicts:
	config/rootfiles/core/40/filelists/files
	make.sh
2010-08-29 12:59:53 +02:00
Christian Schmidt
aac0f7118f First integration of imspector, some more work to do. 2010-08-28 08:38:10 +02:00
Arne Fitzenreiter
6cf9e77034 New Installer based on dracut hw-detection (uClibc removed). 2010-08-11 17:23:41 +02:00
Arne Fitzenreiter
8dc25f04ba Snort scripts and config update. 2010-06-17 23:23:02 +02:00
Michael Tremer
d81baab208 Add support for alix2 leds.
This script enables led 2 and 3 of the alix boards and
they will show traffic on the red device.
2010-04-30 17:03:15 +02:00
Arne Fitzenreiter
d7a707a87f Fix cyrus-sasl autorun. 2010-03-08 11:53:27 +01:00