Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /etc/init/ drwxr-xr-x | |
| Viewing file: Select action/file-type: # network-interface - configure network device
#
# This service causes network devices to be brought up or down as a result
# of hardware being added or removed, including that which isn't ordinarily
# removable.
description "configure network device"
emits net-device-up
emits net-device-down
emits static-network-up
start on net-device-added
stop on net-device-removed INTERFACE=$INTERFACE
instance $INTERFACE
export INTERFACE
pre-start script
if [ "$INTERFACE" = lo ]; then
# bring this up even if /etc/network/interfaces is broken
ifconfig lo 127.0.0.1 up || true
initctl emit -n net-device-up \
IFACE=lo LOGICAL=lo ADDRFAM=inet METHOD=loopback || true
fi
mkdir -p /run/network
ifup --allow auto $INTERFACE
ifup --allow hotplug $INTERFACE
end script
post-stop script
ifdown --force --allow auto $INTERFACE
ifdown --force --allow hotplug $INTERFACE
end script
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0061 ]-- |