summaryrefslogtreecommitdiffstats
path: root/sbin/init.d/sysprofiles
blob: 279215a8bf9a8a1ddcb25fb9baf8b12bde2aeec1 (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; fi; last=$svc; done)