Lines Matching refs:f
36 f=$sysfs/$1
37 echo -e $1 state: "`cat $f/state`" shutdown_status: "`cat $f/shutdown_status`"
46 for f in $sysfs/*
48 _status `basename $f`
57 f=$sysfs/$1
58 echo reset > $f/state
67 for f in $sysfs/*
69 _reset `basename $f`
78 f=$sysfs/$1
79 echo "linux" > $f/bootmode
80 echo "mic/uos.img" > $f/firmware
81 echo "mic/$1.image" > $f/ramdisk
82 echo "boot" > $f/state
91 for f in $sysfs/*
93 _boot `basename $f`
102 f=$sysfs/$1
103 echo shutdown > $f/state
112 for f in $sysfs/*
114 _shutdown `basename $f`
123 f=$sysfs/$1
124 while [ "`cat $f/state`" != "offline" -a "`cat $f/state`" != "online" ]
138 for f in $sysfs/*
140 _wait `basename $f`