From 361afad65e183b0be76d6b98c9458c255814d40b Mon Sep 17 00:00:00 2001 From: Benedict Reuschling Date: Wed, 17 Sep 2014 18:57:45 +0000 Subject: [PATCH] Put in the missing revision r40792: Prefer the use of service(1) to explicit invocation of /etc/rc.d scripts: service(1) puts things in one place and abstracts them. Also, it's less typing and easier to autocomplete. Submitted by: Bjoern Heidotting Obtained from: The FreeBSD German Documentation Project --- .../handbook/advanced-networking/chapter.xml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/de_DE.ISO8859-1/books/handbook/advanced-networking/chapter.xml b/de_DE.ISO8859-1/books/handbook/advanced-networking/chapter.xml index 3fa45f9352..b8bd5f44c1 100644 --- a/de_DE.ISO8859-1/books/handbook/advanced-networking/chapter.xml +++ b/de_DE.ISO8859-1/books/handbook/advanced-networking/chapter.xml @@ -1376,7 +1376,7 @@ ifconfig_wlan0="DHCP" Nun können Sie Ihr drahtloses Gerät starten: - &prompt.root; /etc/rc.d/netif start + &prompt.root; service netif start Nachdem Sie das Gerät aktiviert haben, können Sie mit ifconfig den @@ -1512,7 +1512,7 @@ ifconfig_wlan0="WPA DHCP" Nun können Sie Ihr Netzgerät aktivieren: - &prompt.root; /etc/rc.d/netif start + &prompt.root; service netif start Starting wpa_supplicant. DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6 @@ -1715,10 +1715,9 @@ wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ifconfig_wlan0="WPA DHCP" Nun können Sie Ihr drahtloses Gerät - über das rc.d-System aktivieren: - &prompt.root; /etc/rc.d/netif start + &prompt.root; service netif start Starting wpa_supplicant. DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 7 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 15 @@ -1815,7 +1814,7 @@ ifconfig_wlan0="WPA DHCP" Nun können Sie Ihr drahtloses Gerät aktivieren: - &prompt.root; /etc/rc.d/netif start + &prompt.root; service netif start Starting wpa_supplicant. DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 7 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 15 @@ -1930,7 +1929,7 @@ wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 Zuletzt müssen Sie die Netzwerkkarte noch aktivieren: - &prompt.root; /etc/rc.d/netif start + &prompt.root; service netif start Starting wpa_supplicant. DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 7 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 interval 15 @@ -2328,7 +2327,7 @@ wpa_pairwise=CCMP TKIP Als nächstes wird der hostapd gestartet: - &prompt.root; /etc/rc.d/hostapd forcestart + &prompt.root; service hostapd forcestart &prompt.root; ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2290 @@ -2621,14 +2620,14 @@ ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3, wMaxPacketSize=49, nframes=6, buffer size=294 Zum Starten und Beenden des Bluetooth-Stacks verwenden Sie - das Skript /etc/rc.d/bluetooth. Es ist + &man.service.8;. Es ist empfehlenswert, den Bluetooth-Stack zu beenden, bevor Sie den Adapter entfernen. Selbst wenn Sie dies nicht tun, kommt es (normalerweise) zu keinem fatalen Fehler. Wenn Sie den Bluetooth-Stack starten, erhalten Sie eine Meldung ähnlich der folgenden: - &prompt.root; /etc/rc.d/bluetooth start ubt0 + &prompt.root; service bluetooth start ubt0 BD_ADDR: 00:02:72:00:d4:1a Features: 0xff 0xff 0xf 00 00 00 00 00 <3-Slot> <5-Slot> <Encryption> <Slot offset> @@ -3013,7 +3012,7 @@ Bluetooth Profile Descriptor List: Nun kann der sdpd-Daemon durch folgene Eingabe gestartet werden: - &prompt.root; /etc/rc.d/sdpd start + &prompt.root; service sdpd start Der lokale Server, der den entfernten Clients Bluetooth-Dienste anbieten soll, bindet diese Dienste an den