diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-11-27 14:00:28 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-01-12 22:23:04 +0100 |
commit | 3a005f10e8811956df65ed852ac899ec2a4ecf1d (patch) | |
tree | 39d18ef75da344296d5c59674be3f3f89e9628f4 /system/skeleton | |
parent | c45c3ed8adc0b717036951729c7155f75d29db8a (diff) |
skeleton/S40network: tweak for debian ifupdown
Make the S40network script create the /run/network directory for the
debian variant of ifupdown which uses it as a lock directory.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'system/skeleton')
-rwxr-xr-x | system/skeleton/etc/init.d/S40network | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/skeleton/etc/init.d/S40network b/system/skeleton/etc/init.d/S40network index e69e61340..bfdd491e9 100755 --- a/system/skeleton/etc/init.d/S40network +++ b/system/skeleton/etc/init.d/S40network @@ -3,6 +3,9 @@ # Start the network.... # +# Debian ifupdown needs the /run/network lock directory +mkdir -p /run/network + case "$1" in start) echo "Starting network..." |