File: verify_dump.sh

package info (click to toggle)
dump 0.4b52-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,076 kB
  • sloc: ansic: 15,394; sh: 5,006; cpp: 3,268; makefile: 183
file content (8 lines) | stat: -rwxr-xr-x 135 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
#!/bin/bash

if [ `id -u` != 0 ]; then 
  echo "root priviledges are required"
  exit 1
fi
cd /
/sbin/restore -V -b64 -C -f /dev/cdrom