1.5-rc-3
This commit is contained in:
+3
-5
@@ -74,8 +74,8 @@ long_sleep () {
|
|||||||
|
|
||||||
# reboot host
|
# reboot host
|
||||||
run_reboot () {
|
run_reboot () {
|
||||||
echo -e "\n\nREBOOTING IN $long_delay MINUTES!\n\n"
|
echo -e "\n\nREBOOTING IN $short_delay MINUTES!\n\n"
|
||||||
sudo shutdown -r +$long_delay
|
sudo shutdown -r +$short_delay
|
||||||
}
|
}
|
||||||
|
|
||||||
# to the pause thing like in dos
|
# to the pause thing like in dos
|
||||||
@@ -86,8 +86,6 @@ function hold_for_enter() {
|
|||||||
|
|
||||||
# handle the services
|
# handle the services
|
||||||
services_cmd () {
|
services_cmd () {
|
||||||
# short_sleep
|
|
||||||
|
|
||||||
if [ -z $1 ]; then
|
if [ -z $1 ]; then
|
||||||
echo "Usage: bash services.sh stop|start|restart|status|enable"
|
echo "Usage: bash services.sh stop|start|restart|status|enable"
|
||||||
exit
|
exit
|
||||||
@@ -373,7 +371,7 @@ phase_four () {
|
|||||||
echo -e "\npps-gpio already in /etc/modules, skipping..n"
|
echo -e "\npps-gpio already in /etc/modules, skipping..n"
|
||||||
else
|
else
|
||||||
echo -e "\nAdding pps-gpio to /etc/modules...\n"
|
echo -e "\nAdding pps-gpio to /etc/modules...\n"
|
||||||
sudo bash -c "echo 'pps-gpio' >> /etc/modules"
|
sudo bash -c "echo pps-gpio >> /etc/modules"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
|
|||||||
Reference in New Issue
Block a user