mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
add swconfig for lamobo-r1 switch setup.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2010 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2015 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -194,10 +194,12 @@ $(TARGET) :
|
||||
ln -sf any /etc/rc.d/init.d/networking/$$i; \
|
||||
done
|
||||
|
||||
# ARM does not need checkfstab and acpid
|
||||
# ARM does not need checkfstab and acpid, intel no swconfig
|
||||
ifeq "$(MACHINE_TYPE)" "arm"
|
||||
rm -vf /etc/rc.d/init.d/{acpid,checkfstab}
|
||||
ln -sf ../init.d/swconfig /etc/rc.d/rcsysinit.d/S73swconfig
|
||||
else
|
||||
rm -vf /etc/rc.d/init.d/swconfig
|
||||
ln -sf ../init.d/acpid /etc/rc.d/rc3.d/S12acpid
|
||||
ln -sf ../init.d/acpid /etc/rc.d/rc0.d/K87acpid
|
||||
ln -sf ../init.d/acpid /etc/rc.d/rc6.d/K87acpid
|
||||
|
||||
Reference in New Issue
Block a user