~smoser/cirros/trunk.mkcabundle-in-bash

« back to all changes in this revision

Viewing changes to src/etc/init.d/cirros-ds-net

  • Committer: Scott Moser
  • Date: 2011-09-09 22:10:39 UTC
  • Revision ID: smoser@ubuntu.com-20110909221039-l4djwt8a270hzcas
add functional initial configs for buildroot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
case "$1" in
4
 
        start)
5
 
                mode=$(cirros-query dsmode >/dev/null 2>&1) && exit 0
6
 
                cirros-ds net || :;;
7
 
        stop) :;;
8
 
        *) echo "unknown argument ${1}" 1>&2;;
9
 
esac
10
 
 
11
 
# vi: ts=4 noexpandtab