summaryrefslogtreecommitdiff
path: root/init.d.misc
diff options
context:
space:
mode:
Diffstat (limited to 'init.d.misc')
-rw-r--r--init.d.misc/dnsmasq.in2
-rw-r--r--init.d.misc/openvpn.in4
-rw-r--r--init.d.misc/sshd.in2
-rw-r--r--init.d.misc/wpa_supplicant.in2
4 files changed, 5 insertions, 5 deletions
diff --git a/init.d.misc/dnsmasq.in b/init.d.misc/dnsmasq.in
index de4bade..958a87e 100644
--- a/init.d.misc/dnsmasq.in
+++ b/init.d.misc/dnsmasq.in
@@ -10,7 +10,7 @@ required_files=/etc/dnsmasq.conf
extra_started_commands="reload"
depend()
-{
+{
provide dns
need localmount net
after bootmisc
diff --git a/init.d.misc/openvpn.in b/init.d.misc/openvpn.in
index eb1360b..a53a3ed 100644
--- a/init.d.misc/openvpn.in
+++ b/init.d.misc/openvpn.in
@@ -24,7 +24,7 @@ if yesno $openvpn_client; then
command_args="$command_args --up $openvpn_up"
command_args="$command_args --down $openvpn_down"
required_files="$required_files $openvpn_up $openvpn_down"
-
+
in_background_fake="start stop"
start_inactive=YES
fi
@@ -59,7 +59,7 @@ start_pre()
sysctl -a | grep -q '\.tap\.' || kldload if_tap
fi
fi
-
+
# If the config file does not specify the cd option, we do
if ! grep -q "^[ \t]*cd[ \t].*" "$openvpn_config"; then
command_args="$command_args --cd $openvpn_dir"
diff --git a/init.d.misc/sshd.in b/init.d.misc/sshd.in
index 3d02cab..403f43b 100644
--- a/init.d.misc/sshd.in
+++ b/init.d.misc/sshd.in
@@ -31,5 +31,5 @@ start_pre()
eend $? || return 1
fi
- $command -t
+ $command -t
}
diff --git a/init.d.misc/wpa_supplicant.in b/init.d.misc/wpa_supplicant.in
index f1d65c5..2426905 100644
--- a/init.d.misc/wpa_supplicant.in
+++ b/init.d.misc/wpa_supplicant.in
@@ -43,7 +43,7 @@ find_wireless()
done
;;
esac
-
+
return 1
}