summaryrefslogtreecommitdiff
path: root/packaging/pkgsrc
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
commitc3ffe16cca7ea716083282c504472cb4a6bb529c (patch)
tree30abdeca56d5808550453032f76c30526925d590 /packaging/pkgsrc
parent0d9ef58daa97dd36c120773993e3bdf94b86a96e (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/trunk@276 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'packaging/pkgsrc')
-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}