projects
/
videoscripts
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated for Ubuntu 22.04. Also fixed merge videos cmin check
[videoscripts/.git]
/
make_home_videos.cmd
diff --git
a/make_home_videos.cmd
b/make_home_videos.cmd
index ac3fa22b9fbcfd39a552751b61696714b90c60a7..4c19b7e874930ad4561ae964228f84d35bfe0d34 100755
(executable)
--- a/
make_home_videos.cmd
+++ b/
make_home_videos.cmd
@@
-8,8
+8,8
@@
# USAGE: make_home_videos.cmd <tapename>
# EXAMPLE: make_home_videos.cmd Dec06-Apr07
# USAGE: make_home_videos.cmd <tapename>
# EXAMPLE: make_home_videos.cmd Dec06-Apr07
-SERVER="/
mnt/server
/videos/HomeVideos"
-MAKE_VIDEOS="/
mnt/server
/videos/bin/make_home_videos.pl"
+SERVER="/
naspool
/videos/HomeVideos"
+MAKE_VIDEOS="/
naspool
/videos/bin/make_home_videos.pl"
$MAKE_VIDEOS -e -c -m -p -a -n $*
$MAKE_VIDEOS -e -c -m -p -a -n $*
@@
-68,5
+68,6
@@
popd > /dev/null
echo "-> Rebooting the system in 10 seconds... Press CTRL-C to abort..."
sleep 10
echo "-> Rebooting now..."
echo "-> Rebooting the system in 10 seconds... Press CTRL-C to abort..."
sleep 10
echo "-> Rebooting now..."
-sudo /sbin/reboot
+# chmod u+s /sbin/reboot if you can't run the below command without being root
+/sbin/reboot