Initial revision
This commit is contained in:
14
script/rc.shutdown
Normal file
14
script/rc.shutdown
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /mnt/prod/mbse/etc/rc.shutdown: BBS Shutdown script for Slackware
|
||||
#
|
||||
# 08-Jul-1998
|
||||
|
||||
if [ "$MBSE_ROOT" = "" ]; then
|
||||
export MBSE_ROOT=`cat /etc/passwd | grep mbse: | awk -F ':' '{ print $6}'`
|
||||
fi
|
||||
|
||||
|
||||
su mbse -c $MBSE_ROOT/bin/mbse.stop
|
||||
sleep 2
|
||||
#
|
Reference in New Issue
Block a user