From edd16b8cf9fd396c03b0add6632986a98eca03f7 Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Mon, 21 Mar 2005 04:41:08 +0000 Subject: Use chmod() instead of system() (or equivalent) for all package startup scripts. --- packages/ifstated.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/ifstated.xml') diff --git a/packages/ifstated.xml b/packages/ifstated.xml index df60345c..c3f2367a 100644 --- a/packages/ifstated.xml +++ b/packages/ifstated.xml @@ -64,7 +64,7 @@ $fout = fopen("/usr/local/etc/rc.d/ifstated.sh","w"); fwrite($fout,"#!/bin/sh\n\n/usr/local/sbin/ifstated\n"); fclose($fout); - mwexec("chmod a+x /usr/local/etc/rc.d/radiusd.sh"); + chmod("/usr/local/etc/rc.d/radiusd.sh", 0755); conf_mount_rw(); -- cgit v1.2.3