comparison core/rc/rc.init @ 630:58211c615a8c

core/rc: add basic rc.networking support
author David Demelier <markand@malikania.fr>
date Tue, 23 Jul 2019 23:00:00 +0200
parents dbd752e285f6
children 2bac0c29807f
comparison
equal deleted inserted replaced
629:dbd752e285f6 630:58211c615a8c
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # /etc/rc.init: system initialization script 3 # /etc/rc.init -- system initialization script
4 # 4 #
5 # Copyright (c) 2019 David Demelier <markand@malikania.fr> 5 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
6 # 6 #
7 # Permission to use, copy, modify, and/or distribute this software for any 7 # Permission to use, copy, modify, and/or distribute this software for any
8 # purpose with or without fee is hereby granted, provided that the above 8 # purpose with or without fee is hereby granted, provided that the above
120 loadkeys $KEYMAP 120 loadkeys $KEYMAP
121 fi 121 fi
122 122
123 # Cleanup some files. 123 # Cleanup some files.
124 rm -f /etc/forcefsck 124 rm -f /etc/forcefsck
125
126 # Startup networking.
127 if [ -x /etc/rc.networking ]; then
128 /etc/rc.networking start
129 fi