(List (FunctionDef start [] (List (For i [{[DQ [VarSub @]]}]) (List (Com {[LIT_CHARS echo]} {[DQ [VarSub i][LIT_CHARS " *(rw,fsid=0,insecure,no_root_squash)"]]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/exports]} >"> 1), > ) (Com {[LIT_CHARS /bin/cp]} {[LIT_CHARS /tmp/index.html]} {[VarSub i] [LIT_CHARS /]} ) (Com {[LIT_CHARS chmod]} {[LIT_CHARS 644]} {[VarSub i] [LIT_CHARS /index.html]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Serving "][VarSub i]]} ) ) ) (Com {[LIT_CHARS /usr/sbin/rpcinfo]} {[LIT_CHARS 127.0.0.1]} < (FilenameRedirectNode filename={[LIT_CHARS /dev/null]} "> 1), > ) (= scope= flags=0 words=[] bindings=[('s', {[VarSub ?]})]) (If (Com {[LIT_DBRACKET_LIKE "["]} {[VarSub s]} {[LIT_CHARS -ne]} {[LIT_CHARS 0]} {[LIT_DBRACKET_LIKE "]"]} ) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Starting rpcbind"]]} ) (Com {[LIT_CHARS /usr/sbin/rpcbind]} {[LIT_CHARS -w]} ) ) ) (Com {[LIT_CHARS mount]} {[LIT_CHARS -t]} {[LIT_CHARS nfsd]} {[LIT_CHARS nfds]} {[LIT_CHARS /proc/fs/nfsd]} ) (Com {[LIT_CHARS /usr/sbin/rpc.mountd]} {[LIT_CHARS -N]} {[LIT_CHARS 2]} {[LIT_CHARS -V]} {[LIT_CHARS 3]} {[LIT_CHARS -N]} {[LIT_CHARS 4]} {[LIT_CHARS -N]} {[LIT_CHARS 4.1]} ) (Com {[LIT_CHARS /usr/sbin/exportfs]} {[LIT_CHARS -r]} ) (Com {[LIT_CHARS /usr/sbin/rpc.nfsd]} {[LIT_CHARS -G]} {[LIT_CHARS 10]} {[LIT_CHARS -N]} {[LIT_CHARS 2]} {[LIT_CHARS -V]} {[LIT_CHARS 3]} {[LIT_CHARS -N]} {[LIT_CHARS 4]} {[LIT_CHARS -N]} {[LIT_CHARS 4.1]} {[LIT_CHARS 2]} ) (Com {[LIT_CHARS /usr/sbin/rpc.statd]} {[LIT_CHARS --no-notify]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "NFS started"]]} ) ) ) (FunctionDef stop [] (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Stopping NFS"]]} ) (Com {[LIT_CHARS /usr/sbin/rpc.nfsd]} {[LIT_CHARS 0]} ) (Com {[LIT_CHARS /usr/sbin/exportfs]} {[LIT_CHARS -au]} ) (Com {[LIT_CHARS /usr/sbin/exportfs]} {[LIT_CHARS -f]} ) (Com {[LIT_CHARS kill]} {[ComSub (Com {[LIT_CHARS pidof]} {[LIT_CHARS rpc.mountd]})]} ) (Com {[LIT_CHARS umount]} {[LIT_CHARS /proc/fs/nfsd]} ) (Com {[LIT_CHARS echo]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/exports]} "> 1), > ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 0]} ) ) ) (Com {[LIT_CHARS trap]} {[LIT_CHARS stop]} {[LIT_CHARS TERM]} ) (Com {[LIT_CHARS start]} {[DQ [VarSub @]]} ) (While (Com {[LIT_CHARS true]} ) (Com {[LIT_CHARS sleep]} {[LIT_CHARS 5]} ) ) )