diff options
| author | Jonathan Bauer | 2013-03-11 17:21:48 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-11 17:21:48 +0100 |
| commit | 717eb104b6ad7cad46ea0f90891492a3e0936f51 (patch) | |
| tree | 0017466cfc4194611f01fb0a40c063a6d118b409 /remote/tools/base/data | |
| parent | rsyslogd as tool (diff) | |
| download | tm-scripts-717eb104b6ad7cad46ea0f90891492a3e0936f51.tar.gz tm-scripts-717eb104b6ad7cad46ea0f90891492a3e0936f51.tar.xz tm-scripts-717eb104b6ad7cad46ea0f90891492a3e0936f51.zip | |
old files
Diffstat (limited to 'remote/tools/base/data')
| -rw-r--r-- | remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service | 12 | ||||
| -rwxr-xr-x | remote/tools/base/data/etc/udhcpc.default.script | 61 |
2 files changed, 0 insertions, 73 deletions
diff --git a/remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service b/remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service deleted file mode 100644 index 8e253ee1..00000000 --- a/remote/tools/base/data/etc/systemd/system/basic.target.wants/rsyslog.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=System Logging Service -Before=udev.service - -[Service] -ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service -ExecStart=/usr/sbin/rsyslogd -n -c5 -Sockets=syslog.socket -StandardOutput=null - -[Install] -WantedBy=multi-user.target diff --git a/remote/tools/base/data/etc/udhcpc.default.script b/remote/tools/base/data/etc/udhcpc.default.script deleted file mode 100755 index 4a3403bc..00000000 --- a/remote/tools/base/data/etc/udhcpc.default.script +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/bash -# Busybox udhcpc dispatcher script. Copyright (C) 2009 by Axel Beckert. -# -# Based on the busybox example scripts and the old udhcp source -# package default.* scripts. - -RESOLV_CONF="/etc/resolv.conf" -IP_CONF="/tmp/udhcpc_ip_config" - -export PATH=$PATH:/openslx/sbin:/openslx/bin - -case $1 in - bound|renew) - - [ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" - [ -n "$subnet" ] && NETMASK="netmask $subnet" - - ip addr add $ip/$(ipcalc -s -p $ip $subnet|sed s/.*=//) dev $interface - ip route add default via $router - - echo "ip=$ip" > $IP_CONF - echo "subnet=$subnet" >> $IP_CONF - echo "broadcast=$broadcast" >> $IP_CONF - echo "gateway=$router" >> $IP_CONF - - # Update resolver configuration file - R="" - [ -n "$domain" ] && R="domain $domain -" - count=1; - for i in $dns; do - echo "$0: Adding DNS $i" - R="${R}nameserver $i -" - count=$((count+1)); - done - - if [ -x /sbin/resolvconf ]; then - echo -n "$R" | resolvconf -a "${interface}.udhcpc" - else - echo -n "$R" > "$RESOLV_CONF" - fi - ;; - - deconfig) - - ;; - - leasefail) - echo "$0: Lease failed: $message" - ;; - - nak) - echo "$0: Received a NAK: $message" - ;; - - *) - echo "$0: Unknown udhcpc command: $1"; - exit 1; - ;; -esac |
