#!/bin/bash # mounting / remounting /etc from a script on /etc causes problems, # so move the action into /bin case "$1" in start) exec /bin/initscripts/readonly-root.sh start ;; stop) exec /bin/initscripts/readonly-root.sh stop ;; restart) $0 stop $0 start ;; *) echo "usage: $0 {start|stop|restart}" esac