Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/execsys/execsys-binfmt.pre

    r27 r1  
    33# execsys-binfmt: test1
    44#
    5 # chkconfig: 2345 2 98
     5# chkconfig: 2345 2 99
    66# description: test2
    77#
    88
    9 stop ()
    10 {
    11     echo "-1" > /proc/sys/fs/binfmt_misc/status
    12     umount /proc/sys/fs/binfmt_misc
    13 }
     9mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
     10echo "-1" > /proc/sys/fs/binfmt_misc/status
    1411
    15 start ()
    16 {
    17     mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
    1812# START-AUTOGENERATED: DO NOT EDIT THIS SECTION, INCLUDING THIS LINE!
    1913# This section is populated by the script upd-execsys
    2014# END-AUTOGENERATED: DO NOT EDIT THIS SECTION, INCLUDING THIS LINE!
    21 }
    22 
    23 case "$1" in
    24 start)
    25     stop 2>/dev/null || :
    26     start
    27     ;;
    28 stop)
    29     stop
    30     ;;
    31 restart)
    32     stop
    33     start
    34     ;;
    35 *)
    36     echo "Usage: $0 [start|stop|restart]" >&2
    37     exit 2
    38     ;;
    39 esac
    40 
    41 exit $?
Note: See TracChangeset for help on using the changeset viewer.