summaryrefslogtreecommitdiffstats
path: root/sbin/init.d/sysprofiles
blob: 7ecd797c440af380bdf99dd3b7a1d461072314a0 (plain) (blame)
1
2
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 </dev/null; fi; last=$svc; done)