- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/common/oursrc/execsys/execsys-binfmt.pre
r27 r1 3 3 # execsys-binfmt: test1 4 4 # 5 # chkconfig: 2345 2 9 85 # chkconfig: 2345 2 99 6 6 # description: test2 7 7 # 8 8 9 stop () 10 { 11 echo "-1" > /proc/sys/fs/binfmt_misc/status 12 umount /proc/sys/fs/binfmt_misc 13 } 9 mount -t binfmt_misc none /proc/sys/fs/binfmt_misc 10 echo "-1" > /proc/sys/fs/binfmt_misc/status 14 11 15 start ()16 {17 mount -t binfmt_misc none /proc/sys/fs/binfmt_misc18 12 # START-AUTOGENERATED: DO NOT EDIT THIS SECTION, INCLUDING THIS LINE! 19 13 # This section is populated by the script upd-execsys 20 14 # END-AUTOGENERATED: DO NOT EDIT THIS SECTION, INCLUDING THIS LINE! 21 }22 23 case "$1" in24 start)25 stop 2>/dev/null || :26 start27 ;;28 stop)29 stop30 ;;31 restart)32 stop33 start34 ;;35 *)36 echo "Usage: $0 [start|stop|restart]" >&237 exit 238 ;;39 esac40 41 exit $?
Note: See TracChangeset
for help on using the changeset viewer.