/usr/bin/ionstop is in ion 3.2.1+dfsg-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #!/bin/bash
#
# ionstop
# David Young
# Aug 20, 2008
#
# will quickly and completely stop an ion node.
ION_OPEN_SOURCE=1
echo "IONSTOP will now stop ion and clean up the node for you..."
echo "acsadmin ."
acsadmin .
sleep 1
echo "bpadmin ."
bpadmin .
sleep 1
if [ "$ION_OPEN_SOURCE" == "1" ]; then
echo "cfdpadmin ."
cfdpadmin .
sleep 1
fi
echo "ltpadmin ."
ltpadmin .
sleep 1
echo "ionadmin ."
ionadmin .
sleep 1
echo "killm"
killm
echo "ION node ended. Log file: ion.log"
|