#!/bin/sh
svc='sshd clock localmount modules hostname watchdog serial urandom checkroot rmnologin bootmisc checkfs alsasound'

for s in ${*:-$svc}; do
	echo "stop $s"
	/etc/init.d/$s pause
	echo "start $s"
	BOOT=yes TYPE=boot ./grab-open.sh /etc/init.d/$s start
done
