summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkolla <kolla>2008-06-03 11:54:42 +0000
committerkolla <kolla@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-06-03 11:54:42 +0000
commita52dbc68d142399681577fe76b423e4b1df4b4bf (patch)
treeb0d316d42dbc8b44537d254ebc7458b352ec8e16
parentc3c80ef226fb13a86d6ab274c19f259fe987b5a3 (diff)
Kosmetiske endringer:
* "#! /bin/sh" i stedet for "#!/bin/sh" jamfør "4 byte"-regelen * Konsekvent bruk av ${var} i stedet for $var git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@276 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rwxr-xr-xpackaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh b/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh
index 34a9176..8f394f6 100755
--- a/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh
+++ b/packaging/pkgsrc/net/radsecproxy/files/radsecproxy.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#! /bin/sh
#
# PROVIDE: radsecproxy
# REQUIRE: network
@@ -14,12 +14,12 @@ rcvar=${name}
command="/usr/pkg/sbin/${name}"
command_args="-c /usr/pkg/etc/${name}.conf"
-restart_precmd="$command -p $command_args"
+restart_precmd="${command} -p ${command_args}"
if [ -f /etc/rc.subr ]
then
- load_rc_config $name
- run_rc_command "$1"
+ load_rc_config ${name}
+ run_rc_command "${1}"
else
echo -n ' ${name}'
exec ${command} ${command_args}