summaryrefslogtreecommitdiffstats
path: root/sbin/init.d/sysprofiles
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/init.d/sysprofiles')
-rwxr-xr-xsbin/init.d/sysprofiles3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/init.d/sysprofiles b/sbin/init.d/sysprofiles
new file mode 100755
index 0000000..279215a
--- /dev/null
+++ b/sbin/init.d/sysprofiles
@@ -0,0 +1,3 @@
+#!/bin/bash
+cfgfile=$1
+. /sbin/init.d/functions -f $cfgfile --list_sections|(last=;while read svc rest; do if [ "$svc" != "$last" ]; then /sbin/init.d/$svc -f $cfgfile --auto start; fi; last=$svc; done)